Discussion:
Fun with -Werror
(too old to reply)
Rainer Weikusat
2020-11-12 23:02:24 UTC
Permalink
-Werror is a gcc option turning all warnings into fatal errors. The m4
1.4.17 build system enables -Werror and wants to enable a warning
called "mudflap". gcc 8.3.0 (Debian 10) doesn't support this warning
anymore. Trying to enable a warning which isn't supported causes a
warning. Hence, m4 1.4.17 can't be built with gcc 8.3.0 because the
warning caused by trying to enable a warning which doesn't exist
anymore is turned into a fatal error by -Werror.

IMHO, it's going to be difficult to come up with a more damning way to
describe the effects of this paranoid, kafkaesque nonsense.

:->
Ian Collins
2020-11-20 22:50:25 UTC
Permalink
Post by Rainer Weikusat
-Werror is a gcc option turning all warnings into fatal errors. The m4
1.4.17 build system enables -Werror and wants to enable a warning
called "mudflap". gcc 8.3.0 (Debian 10) doesn't support this warning
anymore. Trying to enable a warning which isn't supported causes a
warning. Hence, m4 1.4.17 can't be built with gcc 8.3.0 because the
warning caused by trying to enable a warning which doesn't exist
anymore is turned into a fatal error by -Werror.
IMHO, it's going to be difficult to come up with a more damning way to
describe the effects of this paranoid, kafkaesque nonsense.
-Wno-unknown-warning is your friend :)
--
Ian.
b***@nuttyella.co.uk
2020-11-21 10:16:08 UTC
Permalink
On Sat, 21 Nov 2020 11:50:25 +1300
Post by Ian Collins
Post by Rainer Weikusat
-Werror is a gcc option turning all warnings into fatal errors. The m4
1.4.17 build system enables -Werror and wants to enable a warning
called "mudflap". gcc 8.3.0 (Debian 10) doesn't support this warning
anymore. Trying to enable a warning which isn't supported causes a
warning. Hence, m4 1.4.17 can't be built with gcc 8.3.0 because the
warning caused by trying to enable a warning which doesn't exist
anymore is turned into a fatal error by -Werror.
IMHO, it's going to be difficult to come up with a more damning way to
describe the effects of this paranoid, kafkaesque nonsense.
-Wno-unknown-warning is your friend :)
Or just remove -Werror from the makefile(s).

Continue reading on narkive:
Loading...