davidmalcolm / gcc-python-plugin

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

libcpychecker: Switch off verify_refcounting for gcc-7 and later #140

Closed vries closed 6 years ago

vries commented 6 years ago

Refcounting verification fails in some cases for gcc-7 and later.

Workaround this by disabling refcounting verification entirely for gcc-7 and later, to make sure that users don't run into python exceptions.

Emit warning in gcc-with-cpychecker when refcounting verification has been disabled, to make sure that users are aware of this.

davidmalcolm commented 6 years ago

Thanks