Search code examples
cwarningsgcc3

Possibility to simulate -Werror option behavior with GCC 3.4?


Is there any hope to force GCC 3.4 compiler to make all warnings into errors like GCC's 4.4 -Werror option does ?

Thanks


Solution

  • As @pmg said -

    gcc 3.4.6 accepts -Werror (see bottom of manual); gcc 3.3.6 also accepts it !!

    Real credits should go to pmg, but thanks for everybody else also :-)