Re: Making gcc silent for third-party headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've been looking for this 'pragma' for some time without any luck. I'm
quite surprised that gcc doesn't have it, while Micorosoft compiler does
have it. I hope I'm touching someone's nerves so that next gcc version
will have it :)

Alon

On Fri, 2006-06-02 at 13:49 +0100, Paulo J. Matos wrote:
> 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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux