https://bugzilla.wikimedia.org/show_bug.cgi?id=16508
Summary: Missing include file <cstring>, creates strlen error
when compiled
Product: MediaWiki extensions
Version: any
Platform: All
URL: http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensio
ns/wikidiff2/standalone.cpp?view=markup
OS/Version: Linux
Status: NEW
Severity: trivial
Priority: Normal
Component: wikidiff2
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Created an attachment (id=5545)
--> (https://bugzilla.wikimedia.org/attachment.cgi?id=5545)
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.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l