Revision: 42021
          http://brlcad.svn.sourceforge.net/brlcad/?rev=42021&view=rev
Author:   starseeker
Date:     2011-01-07 19:08:37 +0000 (Fri, 07 Jan 2011)

Log Message:
-----------
Try this on the VC++ build to see if it quiets things down.

Modified Paths:
--------------
    brlcad/branches/cmake/misc/CMake/CompilerFlags.cmake

Modified: brlcad/branches/cmake/misc/CMake/CompilerFlags.cmake
===================================================================
--- brlcad/branches/cmake/misc/CMake/CompilerFlags.cmake        2011-01-07 
19:05:53 UTC (rev 42020)
+++ brlcad/branches/cmake/misc/CMake/CompilerFlags.cmake        2011-01-07 
19:08:37 UTC (rev 42021)
@@ -145,7 +145,12 @@
 IF(BRLCAD-ENABLE_STRICT)
        CHECK_C_FLAG_GATHER(pedantic STRICT_FLAGS)
        CHECK_C_FLAG_GATHER(W STRICT_FLAGS)
-       CHECK_C_FLAG_GATHER(Wall STRICT_FLAGS)
+       # The Wall warnings are too verbose with Visual C++
+       IF(NOT MSVC)
+               CHECK_C_FLAG_GATHER(Wall STRICT_FLAGS)
+       ELSE(NOT MSVC)
+               CHECK_C_FLAG_GATHER(W4 STRICT_FLAGS)
+       ENDIF(NOT MSVC)
        CHECK_C_FLAG_GATHER(Werror STRICT_FLAGS) 
        CHECK_C_FLAG_GATHER(Wno-long-long STRICT_FLAGS) 
 ENDIF(BRLCAD-ENABLE_STRICT)


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

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to