
10 Nov
2009
10 Nov
'09
9:20 p.m.
AMDG Patrick Horgan wrote:
Jeffrey Bosboom wrote:
But wouldn't that also cause the standard library and other actual system headers to generate warnings? It would presumably be difficult to pick out the Boost warnings from the standard library ones, just as Boost users currently complain about picking out warnings from their code amidst Boost warnings. That's a great point. Really, I would not use that pragma at all. I would make the header not generate errors, or silence individual ones.
I don't know of any way to locally silence individual warnings on gcc. For Boost, making the suppression local is more important than only suppressing a specific warning. In Christ, Steven Watanabe