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/