Revision: 77942
          http://sourceforge.net/p/brlcad/code/77942
Author:   starseeker
Date:     2020-12-07 16:40:09 +0000 (Mon, 07 Dec 2020)
Log Message:
-----------
Use GCC_PREREQ from common.h (thanks Sean)

Modified Paths:
--------------
    brlcad/trunk/include/brep/defines.h
    brlcad/trunk/src/conv/step/step-g/OpenNurbsInterfaces.cpp

Modified: brlcad/trunk/include/brep/defines.h
===================================================================
--- brlcad/trunk/include/brep/defines.h 2020-12-07 15:41:51 UTC (rev 77941)
+++ brlcad/trunk/include/brep/defines.h 2020-12-07 16:40:09 UTC (rev 77942)
@@ -48,7 +48,7 @@
 #  pragma clang diagnostic push
 #endif
 #if defined(__GNUC__) && !defined(__clang__)
-#  if (__GNUC__ >= 8)
+#  if GCC_PREREQ(8,0)
 #    pragma GCC diagnostic ignored "-Wclass-memaccess"
 #  endif
 #endif

Modified: brlcad/trunk/src/conv/step/step-g/OpenNurbsInterfaces.cpp
===================================================================
--- brlcad/trunk/src/conv/step/step-g/OpenNurbsInterfaces.cpp   2020-12-07 
15:41:51 UTC (rev 77941)
+++ brlcad/trunk/src/conv/step/step-g/OpenNurbsInterfaces.cpp   2020-12-07 
16:40:09 UTC (rev 77942)
@@ -33,7 +33,7 @@
 #  pragma clang diagnostic push
 #endif
 #if defined(__GNUC__) && !defined(__clang__)
-#  if (__GNUC__ >= 8)
+#  if GCC_PREREQ(8,0)
 #    pragma GCC diagnostic ignored "-Wclass-memaccess"
 #  endif
 #endif

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



_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to