瀏覽代碼

ctypes: revert https://trac.osgeo.org/grass/changeset/71180 and https://trac.osgeo.org/grass/changeset/71182 (breaks v.digit)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@71187 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 8 年之前
父節點
當前提交
9fd40317bb
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      lib/python/ctypes/ctypesgencore/parser/preprocessor.py

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

@@ -150,8 +150,7 @@ class PreprocessorParser(object):
         if sys.platform == 'darwin':
             cmd += " -U __BLOCKS__"
         cmd += " -U __GNUC__"
-        # fails with GCC 7, https://trac.osgeo.org/grass/ticket/3331
-        #cmd += " -dD"
+        cmd += " -dD"
         for path in self.options.include_search_paths:
             cmd += " -I%s" % path
         for define in self.defines: