Hacker News new | ask | show | jobs
by 16s 5460 days ago
Is it me, or is this statement from the article wrong:

"All warnings can be enabled with -w."

man g++ says:

"-w Inhibit all warning messages."

Inhibit means to prevent (not to enable).

2 comments

It is case sensitive; -W enables more warnings, not -w, which as you noticed suppresses them.
Thanks for mentioning that. I fixed my mistake.