On Thu, Oct 17, 2013 at 02:50:35PM -0400, Tim Shen wrote: > ...to prevent potential bugs. > > By the way, I execute `g++ -E file.cc > prep.cc && sed -i 's|^#.*$||' > prep.cc && g++ -Wall prep.cc 2> log` to get all warnings. Do we have a > better way?
Sure, -Wsystem-headers -Wall. Jakub