Revision: 55650
          http://sourceforge.net/p/brlcad/code/55650
Author:   brlcad
Date:     2013-06-04 04:02:32 +0000 (Tue, 04 Jun 2013)
Log Message:
-----------
separate the comments so it's more obvious that we intentionally use two 
different standards during compilation testing.

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

Modified: brlcad/trunk/misc/CMake/CompilerFlags.cmake
===================================================================
--- brlcad/trunk/misc/CMake/CompilerFlags.cmake 2013-06-04 03:56:57 UTC (rev 
55649)
+++ brlcad/trunk/misc/CMake/CompilerFlags.cmake 2013-06-04 04:02:32 UTC (rev 
55650)
@@ -244,20 +244,20 @@
 # BRLCAD_CHECK_C_FLAG(msse2)
 BRLCAD_CHECK_C_FLAG(msse3 BUILD_TYPES Debug)
 
-# Check for c90 support with gnu extensions if we're not building for a
-# release and c99 support with gnu extensions when we are building for a
-# release just so we get broader portability testing - default development
-# mode is Debug, so the default behavior will be to keep things working
-# with the less feature-rich C standard.
+# Check for c90 support with gnu extensions if we're not building for
+# a release so we get more broad portability testing.  Since the
+# default is debug, it will be the more difficult to keep working
+# given it's the lesser feature-rich C standard.
+BRLCAD_CHECK_C_FLAG("std=gnu89" BUILD_TYPES Debug)
+
+# Check for c99 support with gnu extensions when we are building for a
+# release so we get to leverage more system features where available.
 #
-# Also check for c99 conformance regardless since some platform
+# Also check for c99 conformance (with extensions) since some platform
 # environments require it due to c99-specific system headers (e.g.,
 # /System/Library/Frameworks/OpenGL.framework/Headers/gl.h on Mac OS X
-# having '//' comments embedded).  Do as the Autotools system did
-# and use gnu99 here - c99 has problems on Linux.
-# BRLCAD_CHECK_C_FLAG("std=gnu1x")
+# having '//' comments embedded).  BRLCAD_CHECK_C_FLAG("std=gnu1x")
 BRLCAD_CHECK_C_FLAG("std=gnu99" BUILD_TYPES Release VARS C99_FLAG)
-BRLCAD_CHECK_C_FLAG("std=gnu89" BUILD_TYPES Debug)
 
 # Silence check for unused arguments (used to silence clang warnings about
 # unused options on the command line). By default clang generates a lot of

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


------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to