[mw-devel] [Git][milliways/mw][master] Use -Wno-error=suggest-attribute=format when using -Werror
Andrew Price
welshbyte at sucs.org
Sat Apr 13 12:33:30 BST 2019
Andrew Price pushed to branch master at milliways / mw
Commits:
0d9c3750 by Andrew Price at 2019-04-13T11:31:01Z
Use -Wno-error=suggest-attribute=format when using -Werror
Works around build failures on Debian due to a spurious 'warning' similar to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28492
- - - - -
1 changed file:
- Makefile.common
Changes:
=====================================
Makefile.common
=====================================
@@ -82,7 +82,7 @@ MWCFLAGS += -O2
# This requires optimisation so add it here instead of CCSEC
MWCFLAGS += -D_FORTIFY_SOURCE=2
else
-MWCFLAGS += -O0 -Werror
+MWCFLAGS += -O0 -Werror -Wno-error=suggest-attribute=format
endif
# Let the user add some flags at the end
View it on GitLab: https://projects.sucs.org/milliways/mw/commit/0d9c3750b8e3234d6cdaa38ac22dd2ed0e0b26ce
--
View it on GitLab: https://projects.sucs.org/milliways/mw/commit/0d9c3750b8e3234d6cdaa38ac22dd2ed0e0b26ce
You're receiving this email because of your account on projects.sucs.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/mw-devel/attachments/20190413/b6345cd8/attachment.html>
More information about the mw-devel
mailing list