This is the mail archive of the
mailing list for the GCC project.
Re: V3 PATCH: Insert `typename' and `ios_base::' where required
Mark Mitchell <firstname.lastname@example.org> writes:
| >>>>> "Gabriel" == Gabriel Dos Reis <email@example.com> writes:
| Gabriel> That might be a short-term solution, but there ought to
| Gabriel> be a way to convince the compiler not to diagnose
| Gabriel> extension constructs in system headers.
| How are we supposed to know this is a system header?
Because that file *is included* by a system header.
When Zack and I discussed the idea of that #pragma a while ago, it was
the intent that the pragma should apply to the transitive closure.
CodeSourcery, LLC http://www.codesourcery.com