What's your favorite g++ option? [closed] What's your favorite g++ option? [closed] unix unix

What's your favorite g++ option? [closed]


g++ -W -Wall -Werror

Will display all errors and warnings possible and treat them as errors.


“-Werror”: treats all warnings as errors so you have to fix them. Incredibly valuable.


g++ -g 

I really need that debug information....