Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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

by Anonymous Monk
on Dec 27, 2013 at 04:07 UTC ( [id://1068473]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1068473]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-04-19 04:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found