Chet Ramey wrote:
> I wish we didn't have to worry
> about checking for gcc features that were introduced 15 years ago.

Indeed, gcc 4.4 was released 15 years ago (!).

Nonetheless, GNU Gnulib has an Autoconf macro that tests whether a
compiler option is actually supported by the compiler, before adding
it to CFLAGS:
https://www.gnu.org/software/gnulib/manual/html_node/warnings.html
You may want to use it...

Bruno




Reply via email to