[sword-svn] r3426 - trunk/include

scribe at crosswire.org scribe at crosswire.org
Sun Jul 3 07:28:34 MST 2016


Author: scribe
Date: 2016-07-03 07:28:33 -0700 (Sun, 03 Jul 2016)
New Revision: 3426

Modified:
   trunk/include/swobject.h
Log:
ignore 2 new warnings from -Werror on newer g++

Modified: trunk/include/swobject.h
===================================================================
--- trunk/include/swobject.h	2016-07-03 14:27:56 UTC (rev 3425)
+++ trunk/include/swobject.h	2016-07-03 14:28:33 UTC (rev 3426)
@@ -27,6 +27,8 @@
 #include <defs.h>
 
 SWORD_NAMESPACE_START
+#pragma GCC diagnostic warning "-Waddress"
+#pragma GCC diagnostic warning "-Wnonnull-compare"
 #define SWDYNAMIC_CAST(className, object) (className *)((object)?((object->getClass()->isAssignableFrom(#className))?object:0):0)
 
 /**




More information about the sword-cvs mailing list