Author: ekohl
Date: Sun Jan 2 20:04:53 2011
New Revision: 50265
URL:
http://svn.reactos.org/svn/reactos?rev=50265&view=rev
Log:
[RBUILD]
Fix "format not a string literal and no format arguments" build warnings.
Modified:
trunk/reactos/tools/rbuild/backend/msvc/propsmaker.cpp
trunk/reactos/tools/rbuild/backend/msvc/vspropsmaker.cpp
Modified: trunk/reactos/tools/rbuild/backend/msvc/propsmaker.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/rbuild/backend/msvc/…
==============================================================================
--- trunk/reactos/tools/rbuild/backend/msvc/propsmaker.cpp [iso-8859-1] (original)
+++ trunk/reactos/tools/rbuild/backend/msvc/propsmaker.cpp [iso-8859-1] Sun Jan 2
20:04:53 2011
@@ -92,11 +92,10 @@
fprintf ( OUT, "\"$(RootIntDir)\\");
else if (incs[i]->directory->directory == OutputDirectory)
fprintf ( OUT, "\"$(RootOutDir)\\");
- else
+ else
continue;
- fprintf ( OUT, incs[i]->directory->relative_path.c_str());
- fprintf ( OUT, "\" ; ");
+ fprintf ( OUT, "%s\" ; ",
incs[i]->directory->relative_path.c_str());
}
fprintf ( OUT, "\"$(RootIntDir)\\include\" ; ");
@@ -146,10 +145,9 @@
continue;
if ( defs[i]->value != "" )
- fprintf ( OUT, "%s=%s",defs[i]->name.c_str(),
defs[i]->value.c_str());
+ fprintf ( OUT, "%s=%s ; ",defs[i]->name.c_str(),
defs[i]->value.c_str());
else
- fprintf ( OUT, defs[i]->name.c_str());
- fprintf ( OUT, " ; ");
+ fprintf ( OUT, "%s ; ", defs[i]->name.c_str());
}
fprintf ( OUT, "\t</globalDefines>\r\n");
Modified: trunk/reactos/tools/rbuild/backend/msvc/vspropsmaker.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/rbuild/backend/msvc/…
==============================================================================
--- trunk/reactos/tools/rbuild/backend/msvc/vspropsmaker.cpp [iso-8859-1] (original)
+++ trunk/reactos/tools/rbuild/backend/msvc/vspropsmaker.cpp [iso-8859-1] Sun Jan 2
20:04:53 2011
@@ -166,8 +166,7 @@
else
continue;
- fprintf ( OUT, incs[i]->directory->relative_path.c_str());
- fprintf ( OUT, " ; ");
+ fprintf ( OUT, "%s ; ", incs[i]->directory->relative_path.c_str());
}
fprintf ( OUT, "$(RootIntDir)\\include ; ");
@@ -221,10 +220,9 @@
continue;
if ( defs[i]->value != "" )
- fprintf ( OUT, "%s=%s",defs[i]->name.c_str(),
defs[i]->value.c_str());
+ fprintf ( OUT, "%s=%s ; ",defs[i]->name.c_str(),
defs[i]->value.c_str());
else
- fprintf ( OUT, defs[i]->name.c_str());
- fprintf ( OUT, " ; ");
+ fprintf ( OUT, "%s ; ", defs[i]->name.c_str());
}
fprintf ( OUT, "\"\r\n");