From: <bo...@us...> - 2008-10-23 04:31:50
|
Revision: 337 http://gearbox.svn.sourceforge.net/gearbox/?rev=337&view=rev Author: borax00 Date: 2008-10-23 04:31:34 +0000 (Thu, 23 Oct 2008) Log Message: ----------- turned -Wconversion off again. Modified Paths: -------------- gearbox/trunk/cmake/UseBasicRules.cmake Modified: gearbox/trunk/cmake/UseBasicRules.cmake =================================================================== --- gearbox/trunk/cmake/UseBasicRules.cmake 2008-10-23 03:23:13 UTC (rev 336) +++ gearbox/trunk/cmake/UseBasicRules.cmake 2008-10-23 04:31:34 UTC (rev 337) @@ -16,7 +16,13 @@ # Platform-specific compiler and linker flags # IF( NOT GBX_OS_WIN ) - ADD_DEFINITIONS( "-Wall -Wconversion" ) + ADD_DEFINITIONS( "-Wall" ) +# +# AlexB: Using -Wconversion finds some real bugs, but turns up lots of +# false positives, especially in gcc4.3. +# (see: http://gcc.gnu.org/ml/gcc/2008-05/msg00363.html) +# +# ADD_DEFINITIONS( "-Wall -Wconversion" ) ELSE ( NOT GBX_OS_WIN ) ADD_DEFINITIONS( "-Wall -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. |