
10 Nov
2009
10 Nov
'09
6:14 a.m.
Patrick Horgan wrote:
But redundant. It's already built into gcc to do this. If you just have the pragma and then build with -Wsystem-headers it turns the warnings back on. No sense in reinventing the wheel. Cheers, Patrick
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. --Jeffrey Bosboom