Revision: 54944
          http://brlcad.svn.sourceforge.net/brlcad/?rev=54944&view=rev
Author:   brlcad
Date:     2013-03-28 17:45:19 +0000 (Thu, 28 Mar 2013)
Log Message:
-----------
since we can't seem to do a damn thing about the inline warnings, turn them off 
outright

Modified Paths:
--------------
    brlcad/trunk/src/libpc/CMakeLists.txt

Modified: brlcad/trunk/src/libpc/CMakeLists.txt
===================================================================
--- brlcad/trunk/src/libpc/CMakeLists.txt       2013-03-28 17:37:38 UTC (rev 
54943)
+++ brlcad/trunk/src/libpc/CMakeLists.txt       2013-03-28 17:45:19 UTC (rev 
54944)
@@ -4,13 +4,14 @@
 #      re2c/lemon to rewrite parsing code currently
 #       using boost
 
-# No point in warnings here, we can't do anything about
-# it until the boost issue is handled
+# libpc compilation produces excessive warnings about unquellable
+# inline failures due to internal boost header logic.  turn off inline
+# warnings outright.
 string(TOUPPER "${CMAKE_BUILD_TYPE}" BUILD_TYPE)
 if(BUILD_TYPE)
-  set(CMAKE_CXX_FLAGS_${BUILD_TYPE} "${CMAKE_CXX_FLAGS_${BUILD_TYPE}} 
-Wno-error")
+  set(CMAKE_CXX_FLAGS_${BUILD_TYPE} "${CMAKE_CXX_FLAGS_${BUILD_TYPE}} 
-Wno-inline -Wno-error")
 else(BUILD_TYPE)
-  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-error")
+  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-inline -Wno-error")
 endif(BUILD_TYPE)
 
 # Include directories needed by libpc users

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


------------------------------------------------------------------------------
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to