davidmalcolm / gcc-python-plugin

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

Update gcc-python-wrapper.c for Python 3.8 #184

Closed fishilico closed 4 years ago

fishilico commented 4 years ago

Commit 3a4b484eaeda ("Build on Python 3.8") updated cpybuilder.py but not gcc-python-wrapper.c. This results in the following error when building with Python 3.8:

gcc-python-wrapper.c:188:1: error: converting to non-pointer type
‘long int’ from NULL [-Werror=conversion-null]
  188 | };
      | ^
davidmalcolm commented 4 years ago

Thanks for the patch; sorry for the delay in reviewing it.