This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: V3 PATCH: Insert `typename' and `ios_base::' where required


Mark Mitchell <mark@codesourcery.com> writes:

| >>>>> "Gabriel" == Gabriel Dos Reis <gdr@codesourcery.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.

-- Gaby
CodeSourcery, LLC                       http://www.codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]