Revision: 54947
          http://brlcad.svn.sourceforge.net/brlcad/?rev=54947&view=rev
Author:   brlcad
Date:     2013-03-28 18:04:14 +0000 (Thu, 28 Mar 2013)
Log Message:
-----------
there are far too many unquellable false-positive inline warnings with more 
recent versions of gcc (4.7ish) where it warns about not being able to inline 
default constructors and desctructors that it created and that we cannot quell 
with the given inline hooks.  so turn them all off (for C++) for now

Modified Paths:
--------------
    brlcad/trunk/misc/CMake/BRLCAD_CompilerFlags.cmake

Modified: brlcad/trunk/misc/CMake/BRLCAD_CompilerFlags.cmake
===================================================================
--- brlcad/trunk/misc/CMake/BRLCAD_CompilerFlags.cmake  2013-03-28 17:49:58 UTC 
(rev 54946)
+++ brlcad/trunk/misc/CMake/BRLCAD_CompilerFlags.cmake  2013-03-28 18:04:14 UTC 
(rev 54947)
@@ -107,8 +107,11 @@
   BRLCAD_CHECK_C_FLAG(Wshadow)
   BRLCAD_CHECK_CXX_FLAG(Wshadow)
 
+  # want C inline warnings, but versions of g++ (circa 4.7) spew
+  # unquellable bogus warnings on default constructors that we don't
+  # have access to (e.g., in opennurbs and boost), so turn them off
   BRLCAD_CHECK_C_FLAG(Winline)
-  BRLCAD_CHECK_CXX_FLAG(Winline)
+  BRLCAD_CHECK_CXX_FLAG(Wno-inline)
 
   # Need this for tcl.h
   BRLCAD_CHECK_C_FLAG(Wno-long-long)

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