From: <gb...@us...> - 2009-06-12 13:03:34
|
Revision: 422 http://gearbox.svn.sourceforge.net/gearbox/?rev=422&view=rev Author: gbiggs Date: 2009-06-12 12:19:14 +0000 (Fri, 12 Jun 2009) Log Message: ----------- Removed -Wall on Windows. See comment in the file as to why. Modified Paths: -------------- gearbox/trunk/cmake/UseBasicRules.cmake Modified: gearbox/trunk/cmake/UseBasicRules.cmake =================================================================== --- gearbox/trunk/cmake/UseBasicRules.cmake 2009-06-12 12:18:44 UTC (rev 421) +++ gearbox/trunk/cmake/UseBasicRules.cmake 2009-06-12 12:19:14 UTC (rev 422) @@ -24,5 +24,8 @@ # # add_definitions( "-Wall -Wconversion" ) else( NOT GBX_OS_WIN ) - add_definitions( "-Wall -D_CRT_SECURE_NO_DEPRECATE" ) + # With Visual C++, -Wall causes the compiler to spew thousands upon + # thousands (I'm not kidding here) of warnings in the standard lib + # headers that are supplied with the compiler. Woo. + add_definitions( "-D_CRT_SECURE_NO_DEPRECATE" ) endif( NOT GBX_OS_WIN ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |