gcc - using -werror and -std= -pedantic considered good practice?
- by Helper Method
I'm just digging into the gcc manual and some things are still unclear to me:
a) When specifying a std, should I always use -pedantic in conjunction?
b) When using -g, it the standard level sufficient or should I specify level 3, i.e.
-g3?
c) Is it good practice to use -Werror to promote all warnings to errors and -pedantic-errors to promote all pedantic warnings to errors?