Package: gcc-python-plugin / 0.17-2

gcc-8-fix.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/gcc-python-pretty-printer.c
+++ b/gcc-python-pretty-printer.c
@@ -46,8 +46,8 @@ PyGccPrettyPrinter_New(void)
        Use placement new to run it on obj->pp.  */
     new ((void*)&obj->pp)
         pretty_printer(
-# if (GCC_VERSION < 9000)
-                       /* GCC 9 eliminated the "prefix" param.  */
+# if (GCC_VERSION < 8003)
+                       /* GCC 8.3 eliminated the "prefix" param.  */
                        NULL,
 # endif
                        0);