File: gcc-8-fix.diff

package info (click to toggle)
gcc-python-plugin 0.17-2
  • links: PTS
  • area: main
  • in suites: buster
  • size: 46,268 kB
  • sloc: python: 15,434; ansic: 11,462; makefile: 576; xml: 449; cpp: 137; pascal: 75; sh: 7
file content (13 lines) | stat: -rw-r--r-- 478 bytes parent folder | 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);