Sunday, April 17, 2011

g++ command line options

  • -o : name the output file.
  • -Wall : all warnings.
  • -pedantic : follow strict ISO C++ rules.
  • -Weffc++ : follow Scott Myer's Effective C++ solutions.
More to come as a I experiment with them.

No comments: