Re: detecting when an option is not available

2012-06-11 Thread Ian Lance Taylor
Vincent Torri writes: > 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. This question is not appropriate for the mai

detecting when an option is not available

2012-06-11 Thread Vincent Torri
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