delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/04/18/12:19:31

X-Spam-Check-By: sourceware.org
Message-ID: <462393EF.2000701@cox.net>
Date: Mon, 16 Apr 2007 15:19:11 +0000
From: Greg Chicares <chicares AT cox DOT net>
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: C++ name with leading underscore character not Compiling
References: <1cbe225f0704160234u24b104a5o9b459178e895a5a8 AT mail DOT gmail DOT com> <018901c7800b$5c4ec450$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <4623592C DOT 2000905 AT sh DOT cvut DOT cz> <019c01c7801a$6db51f00$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <7231C15EAC2F164CA6DC326D97493C8B01FA0655 AT exchange35 DOT fed DOT cclrc DOT ac DOT uk> <01a001c7801d$e5d16220$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <7231C15EAC2F164CA6DC326D97493C8B01FA0656 AT exchange35 DOT fed DOT cclrc DOT ac DOT uk> <01a501c7802b$1d84f3f0$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <7231C15EAC2F164CA6DC326D97493C8B01FA065B AT exchange35 DOT fed DOT cclrc DOT ac DOT uk>
In-Reply-To: <7231C15EAC2F164CA6DC326D97493C8B01FA065B@exchange35.fed.cclrc.ac.uk>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019