in reply to Re: Difference Between use warnings and use warnings FATAL => 'all'
in thread Difference Between use warnings and use warnings FATAL => 'all'

This is why C compilers have strict modes,

I believe this is the direct equivalent of strict/warnings-FATAL-all

gcc -ansi -pedantic -Wall -Wextra ...

  • Comment on Re^2: Difference Between use warnings and use warnings FATAL => 'all'

Replies are listed 'Best First'.
Re^3: Difference Between use warnings and use warnings FATAL => 'all'
by educated_foo (Vicar) on Dec 27, 2013 at 11:23 UTC
    gcc -ansi -pedantic -Wall -Wextra ...
    No, it's worse:
    gcc <various-warning-flags> -Wfatal-errors
    i.e. it stops at the first warning. In practice, this means that you get to fix/suppress the first warning your program causes, then start it over again to fix/suppress the second, etc., rather than getting a list of all of them and deciding what to do.