Hacker News new | past | comments | ask | show | jobs | submit login

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).




It is case sensitive; -W enables more warnings, not -w, which as you noticed suppresses them.


Thanks for mentioning that. I fixed my mistake.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: