Revision: 77539
http://sourceforge.net/p/brlcad/code/77539
Author: starseeker
Date: 2020-10-22 15:14:02 +0000 (Thu, 22 Oct 2020)
Log Message:
-----------
openNURBS has class-memaccess issues - guard the header.
Modified Paths:
--------------
brlcad/trunk/src/conv/step/step-g/OpenNurbsInterfaces.cpp
Modified: brlcad/trunk/src/conv/step/step-g/OpenNurbsInterfaces.cpp
===================================================================
--- brlcad/trunk/src/conv/step/step-g/OpenNurbsInterfaces.cpp 2020-10-22
14:50:24 UTC (rev 77538)
+++ brlcad/trunk/src/conv/step/step-g/OpenNurbsInterfaces.cpp 2020-10-22
15:14:02 UTC (rev 77539)
@@ -26,8 +26,25 @@
#include "common.h"
+#if defined(__GNUC__) && !defined(__clang__)
+# pragma GCC diagnostic push
+#endif
+#if defined(__clang__)
+# pragma clang diagnostic push
+#endif
+#if defined(__GNUC__) && !defined(__clang__)
+# pragma GCC diagnostic ignored "-Wclass-memaccess"
+#endif
+
#include "opennurbs.h"
+#if defined(__GNUC__) && !defined(__clang__)
+# pragma GCC diagnostic pop
+#endif
+#if defined(__clang__)
+# pragma clang diagnostic pop
+#endif
+
#include "sdai.h"
class SDAI_Application_instance;
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