davidmalcolm / gcc-python-plugin

GCC plugin that embeds CPython inside the compiler
GNU General Public License v3.0
197 stars 58 forks source link

0.17 build broken with GCC 8.3 #173

Closed doko42 closed 5 years ago

doko42 commented 5 years ago

One of you recent backports to GCC 8.3 broke the 0.17 build. The GCC version check needs to be adjusted.

--- gcc-python-plugin-0.17.orig/gcc-python-pretty-printer.c +++ gcc-python-plugin-0.17/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)

davidmalcolm commented 5 years ago

Should be fixed by #175