[Scummvm-cvs-logs] SF.net SVN: scummvm:[50241] scummvm/trunk

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Fri Jun 25 00:00:20 CEST 2010


Revision: 50241
          http://scummvm.svn.sourceforge.net/scummvm/?rev=50241&view=rev
Author:   lordhoto
Date:     2010-06-24 22:00:20 +0000 (Thu, 24 Jun 2010)

Log Message:
-----------
Do not include any headers from common/messages.cpp, since that file might be included into an namespace.

Modified Paths:
--------------
    scummvm/trunk/common/messages.cpp
    scummvm/trunk/tools/po2c

Modified: scummvm/trunk/common/messages.cpp
===================================================================
--- scummvm/trunk/common/messages.cpp	2010-06-24 21:59:50 UTC (rev 50240)
+++ scummvm/trunk/common/messages.cpp	2010-06-24 22:00:20 UTC (rev 50241)
@@ -1,8 +1,5 @@
 // generated by po2c 1.0.2-scummvm - Do not modify
 
-#include <stdio.h>
-#include <string.h>
-
 static const char * const _po2c_msgids[] = {
 	/* 0 */ "",
 	/* 1 */ "   Are you sure you want to quit ?   ",

Modified: scummvm/trunk/tools/po2c
===================================================================
--- scummvm/trunk/tools/po2c	2010-06-24 21:59:50 UTC (rev 50240)
+++ scummvm/trunk/tools/po2c	2010-06-24 22:00:20 UTC (rev 50241)
@@ -109,8 +109,6 @@
 # stage 3: dump as C++ code
 
 print "// generated by po2c $VERSION - Do not modify\n\n";
-print "#include <stdio.h>\n";
-print "#include <string.h>\n\n";
 
 # dump first the msgid array
 print "static const char * const _po2c_msgids[] = {\n";


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list