This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Making gcc silent for third-party headers


Hi all,

I'm using gcc 4.1.1 and it is constantly spitting out (something along
the lines):
"class with virtual functions should have virtual destructor"
on third-party headers. I usually compile with -Wall, and I want to
keep that flag but disable it for these headers. Is there a way? Maybe
through #pragma?

Cheers,

--
Paulo Jorge Matos - pocm at sat inesc-id pt
Web: http://sat.inesc-id.pt/~pocm
Computer and Software Engineering
INESC-ID - SAT Group


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]