Suppressing warnings in specific file
Brad Settlemyer
bws@cox.rr.com
Tue Mar 5 11:21:00 GMT 2002
Hello,
How do I suppress warnings for a single implementation file using gcc
3.0.3? There were several similar queries that you addressed by changing
code to suppress the warning, I don't have that luxury because the headers
are 3rd party and I can't change them reliably. The specific warning is
about classes with virtual functions but without virtual destructors. I
agree that usually this is bad behaviour, and I want to be warned if I do it
in my own code, but I would like to suppress it in the 3rd party header, any
suggestions?
Thanks
Brad
More information about the Gcc-help
mailing list