Last modified: 2008-12-19 07:06:33 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T18508, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16508 - Missing include file <cstring>, creates strlen error when compiled
Missing include file <cstring>, creates strlen error when compiled
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
wikidiff2 (Other open bugs)
unspecified
All Linux
: Normal trivial with 1 vote (vote)
: ---
Assigned To: Tim Starling
http://svn.wikimedia.org/viewvc/media...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-11-30 20:19 UTC by Daniel Roesler
Modified: 2008-12-19 07:06 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
adds #include <cstring> (25 bytes, patch)
2008-11-30 20:19 UTC, Daniel Roesler
Details

Description Daniel Roesler 2008-11-30 20:19:47 UTC
Created attachment 5545 [details]
adds #include <cstring>

#include <cstring> is missing from the top of standalone.cpp in the wikidiff2 extension.

Creates the following error:
$ make standalone
g++ -o wikidiff2 -O3 wikidiff2.cpp standalone.cpp  
standalone.cpp: In function ‘void report_file_error(char*)’:
standalone.cpp:13: error: ‘strlen’ was not declared in this scope
make: *** [standalone] Error 1

I have included a patch. Standalone.cpp compiles normally after the fix.
Comment 1 Tim Starling 2008-12-19 07:06:33 UTC
Fixed in r44795.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links