delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/03/13/20:20:03

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-Id: <200003140119.RAA29931@aleph.ssd.hal.com>
Subject: Re: bug in ctype.h
To: cygwin AT sourceware DOT cygnus DOT com
Date: Mon, 13 Mar 2000 17:19:28 -0800 (PST)
In-Reply-To: <20000313125547.B1933@cygnus.com> from "Chris Faylor" at Mar 13, 2000 12:55:47 PM
From: "J. J. Farrell" <jjf AT bcs DOT org DOT uk>
X-Mailer: ELM [version 2.5 PL2]
MIME-Version: 1.0

> From: Chris Faylor <cgf AT cygnus DOT com>
> 
> On Mon, Mar 13, 2000 at 06:07:43PM +0100, Levente Farkas wrote:
> >
> >I thing it's a real bug in ctype.h in cygwin:
> >-------------
> >#define _U  01
> >#define _L  02
> >#define _N  04
> >#define _S  010
> >#define _P  020
> >#define _C  040
> >#define _X  0100
> >#define _B  0200
> >--------------
> >and there is no undef pair of these defines. ok you can use every
> >name with starts with _, but it's a real nightmare (the _X is the
> >worst).
> 
> Um, how would you undef these?  They're used in macros.
> 
> It was my understanding that symbols that begin with "_" were supposed
> to be the province of a system library and are not supposed to be
> used by user programs.  Or was it "__".  I can never remember.

Identifiers beginning "_" followed by another "_" or an upper-case
letter are reserved in all situations. Any "ordinary" program which
uses such identifiers is incorrect. This is not a bug.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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