
26 Oct
2009
26 Oct
'09
4:32 p.m.
A downside is that #pragma GCC system_header suppreses all warnings, not just the one you need to suppress.
If you reach to isolate in a separated file the parts concerned by the warning, the #pragma GCC system_header will be less invasive. I understand that this could be confusing just to remove some warnings.
Nod. However, in this case the only code in the header after the pragma is the problem code causing the warnings, so I'm not sure we gain much? John.