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
]
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 ]