This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
detecting when an option is not available
- From: Vincent Torri <vtorri at univ-evry dot fr>
- To: gcc at gnu dot org
- Date: Tue, 12 Jun 2012 05:19:10 +0200 (CEST)
- Subject: detecting when an option is not available
Hello,
I would like to know if there is a way to know if a warning option like
-Wno-initializer-overrides is supported or not by gcc. My purpose is to
write an m4 macro that checks if an option is supported or not by a
compiler.
thank you
Vincent Torri