Parcourir la source

ctypes: removing -dD flag in ctypesgencore because failing with gcc7 (contributed by Andreas Schmitz, terrestris)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@71180 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler il y a 8 ans
Parent
commit
b1b5e13db1
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      lib/python/ctypes/ctypesgencore/parser/preprocessor.py

+ 2 - 1
lib/python/ctypes/ctypesgencore/parser/preprocessor.py

@@ -150,7 +150,8 @@ class PreprocessorParser(object):
         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: