davidmalcolm / gcc-python-plugin

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

gcc-with-cpychecker: Add --cpychecker-verbose #148

Closed vries closed 5 years ago

vries commented 5 years ago

In "libcpychecker: Switch off verify_refcounting for gcc-7 and later", we added a warning in gcc-with-cpychecker when refcounting verification has been disabled.

This warning causes configure tests of gdb to fail when building using {CC,CXX}=gcc-with-cpychecker.

Fix this by switching the warning off by default, and adding an option --cpychecker-verbose to switch it on.

[ An alternative could be to change the syntax from: gcc-with-cpychecker [options] gcc-options to: gcc-with-cpychecker [options --] gcc-options and use: gcc-with-cpychecker --verbose -- instead of: gcc-with-cpychecker --cpychecker-verbose ]

davidmalcolm commented 5 years ago

Thanks