g++ -pedantic errors on include files
Guy Middleton
guy at obstruction.com
Fri Sep 19 08:33:39 PDT 2003
On my 5.1-RELEASE system, if I compile a C++ program thus:
c++ -O -pipe -march=pentium3 -Wall -W -Wno-long-long -pedantic wchar.cc -o wchar
The compiler prints many warnings like this:
/usr/include/g++/bits/stl_alloc.h:979: warning: ISO C++ forbids the use of `
extern' on explicit instantiations
Is there some way to turn this off? I don't mind getting complaints about my
own code, but it's kind of pointless to get warnings about system include
files.
More information about the freebsd-questions
mailing list