How to turn off the compiler warning "missing initializer"

"Markus Bühren" bhr2@gmx.de
Thu Apr 1 09:17:00 GMT 2010


Hi,

can anyone tell me how to turn off the GCC warning "missing initializer"? After half an hour of web search I did not find anything. In the documentation I find the term "missing initializer" in the paragraph about -Wtraditional, but using the compiler option "-Wno-traditional" does not help.

I know that it is better to avoid all warnings, but I want to convince my colleagues to use "-Wall -Wextra -Werror" but I can't solve all the warnings at once. So I want to tell the compiler not to make that special warning an error.

Markus



More information about the Gcc-help mailing list