This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: C++ name with leading underscore character not Compiling


On 16 April 2007 13:14, Adye, TJ (Tim) wrote:

> I'm a bit surprised this isn't flagged by the compiler (it warns you
> about lots of other non-standard usages), though I guess it would be a
> bit ugly to implement (the compiler would have to distinguish between
> usage in a standard header and other code).

  Actually, the compiler already has a good deal of knowlege about what
constitute system headers and what constitute user headers: see
'-Wsystem-headers' in the docs.  So I think that it wouldn't actually be hard
to implement, and I may even take a look at doing so myself.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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