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