Re: [PATCH] manywarnings: -Wstrict-overflow is deprecated
Collin Funk <[email protected]>
| Newsgroups | gmane.comp.lib.gnulib.bugs |
|---|---|
| Message-ID | <[email protected]> |
Bruno Haible via Gnulib discussion list <[email protected]> writes: > Do you happen to know whether gcc 17 will, when invoked with the option > -Wstrict-overflow, report > > gcc: error: unrecognized command-line option ‘-Wstrict-overflow’ > > or will this be at most a warning? > > I am worried about existing release tarballs that add -Wstrict-overflow > to the CFLAGS (either via manywarnings.m4 or through other means): > will they still work with gcc 17? Yes, that is a bit worrying. It would also affect all the distributions that build from git tags, and therefore enable warnings that were only meant for developers. Collin