This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: bug in ctype.h
- To: cygwin at sourceware dot cygnus dot com
- Subject: Re: bug in ctype.h
- From: Levente Farkas <!spam-lfarkas at mindmaker dot hu>
- Date: Mon, 13 Mar 2000 18:58:20 +0100
- Organization: Mindmaker Ltd.
- References: <38CD205F.1ADDE77B@mindmaker.hu> <20000313125547.B1933@cygnus.com>
- Reply-To: lfarkas at mindmaker dot hu
Chris Faylor wrote:
>
> On Mon, Mar 13, 2000 at 06:07:43PM +0100, Levente Farkas wrote:
> >hi,
> >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.
that's another problem:-)
but simple after use
#undef _X
> 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.
almost both, but such a macros are anoying anyway.
-- lfarkas
"The only thing worse than not knowing the truth is
ruining the bliss of ignorance."
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com