Eponymous
Eponymous

Reputation: 6841

How does one suppress specific warnings from source code on g++ 4.5 or later?

The first comment on a feature request for g++ says, "Starting with 4.5 you can disable a class of warnings in the source."

I looked through the 4.5.0 manual, but I can't find the syntax.

What is the syntax in g++ 4.5 and later to suppress individual warning classes in the source?

Upvotes: 1

Views: 1005

Answers (1)

Related Questions