[ros-diffs] [cfinck] 30991: Always add _CRT_SECURE_NO_WARNINGS to the preprocessor definition list to disable warnings about not using the safe functions introduced in MSVC8.
cfinck at svn.reactos.org
cfinck at svn.reactos.org
Tue Dec 4 00:03:58 CET 2007
Author: cfinck
Date: Tue Dec 4 02:03:58 2007
New Revision: 30991
URL: http://svn.reactos.org/svn/reactos?rev=30991&view=rev
Log:
Always add _CRT_SECURE_NO_WARNINGS to the preprocessor definition list to disable warnings about not using the safe functions introduced in MSVC8.
Modified:
trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp
Modified: trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp?rev=30991&r1=30990&r2=30991&view=diff
==============================================================================
--- trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp (original)
+++ trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp Tue Dec 4 02:03:58 2007
@@ -350,6 +350,9 @@
fprintf ( OUT, "\"\r\n" );
StringSet defines = common_defines;
+
+ // Always add _CRT_SECURE_NO_WARNINGS to disable warnings about not using the safe functions introduced in MSVC8.
+ defines.insert ( "_CRT_SECURE_NO_WARNINGS" );
if ( debug )
{
More information about the Ros-diffs
mailing list