* Making gcc silent for third-party headers
@ 2006-06-02 12:50 Paulo J. Matos
2006-06-07 9:32 ` Alon Marx
0 siblings, 1 reply; 2+ messages in thread
From: Paulo J. Matos @ 2006-06-02 12:50 UTC (permalink / raw)
To: gcc-help
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Making gcc silent for third-party headers
2006-06-02 12:50 Making gcc silent for third-party headers Paulo J. Matos
@ 2006-06-07 9:32 ` Alon Marx
0 siblings, 0 replies; 2+ messages in thread
From: Alon Marx @ 2006-06-07 9:32 UTC (permalink / raw)
To: pocm; +Cc: gcc-help
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
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-06-07 9:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-02 12:50 Making gcc silent for third-party headers Paulo J. Matos
2006-06-07 9:32 ` Alon Marx
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).