[GRASS-SVN] r71180 - grass/trunk/lib/python/ctypes/ctypesgencore/parser

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jun 12 23:50:32 PDT 2017


Author: neteler
Date: 2017-06-12 23:50:32 -0700 (Mon, 12 Jun 2017)
New Revision: 71180

Modified:
   grass/trunk/lib/python/ctypes/ctypesgencore/parser/preprocessor.py
Log:
ctypes: removing -dD flag in ctypesgencore because failing with gcc7 (contributed by Andreas Schmitz, terrestris)

Modified: grass/trunk/lib/python/ctypes/ctypesgencore/parser/preprocessor.py
===================================================================
--- grass/trunk/lib/python/ctypes/ctypesgencore/parser/preprocessor.py	2017-06-13 04:36:15 UTC (rev 71179)
+++ grass/trunk/lib/python/ctypes/ctypesgencore/parser/preprocessor.py	2017-06-13 06:50:32 UTC (rev 71180)
@@ -150,7 +150,8 @@
         if sys.platform == 'darwin':
             cmd += " -U __BLOCKS__"
         cmd += " -U __GNUC__"
-        cmd += " -dD"
+        # fails with GCC 7
+        #cmd += " -dD"
         for path in self.options.include_search_paths:
             cmd += " -I%s" % path
         for define in self.defines:



More information about the grass-commit mailing list