Currently genprotimg, libpv and pvattest enforce use of -Werror in their Makefile and it is causing problems when for example new compiler (eg. gcc 13) is being used like in current Fedora 38 and Rawhide. Just using the glib.h header throws an error, see https://bugzilla.redhat.com/show_bug.cgi?id=2170551 for details. Generally it is discouraged using -Werror in production builds for exactly this reason by the toolchain people.
Thus I would like ask for providing an option to either disable or enable using -Werror parameter on the global level. For example with ENABLE_WERROR=1 for the top level make command, like there is ENABLE_DOC today.
Currently
genprotimg
,libpv
andpvattest
enforce use of-Werror
in theirMakefile
and it is causing problems when for example new compiler (eg. gcc 13) is being used like in current Fedora 38 and Rawhide. Just using theglib.h
header throws an error, see https://bugzilla.redhat.com/show_bug.cgi?id=2170551 for details. Generally it is discouraged using-Werror
in production builds for exactly this reason by the toolchain people.Thus I would like ask for providing an option to either disable or enable using
-Werror
parameter on the global level. For example withENABLE_WERROR=1
for the top levelmake
command, like there isENABLE_DOC
today.