C++ name with leading underscore character not Compiling

Greg Chicares chicares@cox.net
Mon Apr 16 15:19:00 GMT 2007


On 2007-04-16 13:47Z, Adye, TJ (Tim) wrote:
> 
[warning about reserved names in non-system headers, distinguished
in whatever way '-Wsystem-headers' uses]
> 
> An alternative might be to distinguish between <> and "" includes.

A few years ago, boost was trying to figure out what that distinction
means, and the conclusion was that it doesn't really mean much. Here's
some discussion between members of the C++ Standard committee:

http://lists.boost.org/Archives/boost/1999/07/0446.php
[C++98 16.2]
| I have read paragraphs 2 and 3 several times and can't see any
| difference, other that the ordering of sentances and "..." falling
| back to <...>.

http://lists.boost.org/Archives/boost/1999/07/0450.php
| > I had thought that the intent was that:
| > <name> forms were intended for standard and system C++ headers;
| > <name.h> forms were intended for standard and system C headers;
| > "whatever" forms were intended for user source files;
| >where "headers" need not be files at all.
|
| Well, neither standard says anything about "intended for standard and
| system headers" or "intended for user source files".


--
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/



More information about the Cygwin mailing list