Subject: Re: ctype.h and serious programming
From: [email-masked] (Earnie Boyd)

17 Feb 1998 06:27:05 -0800
Message-ID: <[email-masked]>
Content-Type: text/plain
To: [email-masked]
Cc: [email-masked]

>From: [email-masked]
>Date: Tue, 17 Feb 1998 02:42:09 GMT
>Subject: ctype.h and serious programming
>To: [email-masked]
>
>If you've done some porting to cygwin, you'll notice that ctype.h often
>gives syntax errors.  Out of curiosity, I substituted <linux/ctype.h>
>from the linux kernel source for the cygwin version (leaving the cygwin
>headers in place), and got much cleaner compiles.  Is there a technical
>reason why <linux/ctype.h>, which is a pure macro version, shouldn't
>replace cygwin's <ctype.h>?

It appears that ctype.h as supplied by cygnus needs some work with the 
#ifdef __GNUC__ ... #endif logic.  Based on the comment "non-gcc 
versions will get the library versions, and will be slightly slower" the 
code should be structured as follows:

#ifdef __GNUC__

#define MACROS

#else

int _EXFUN(...)

#endif

>
>-

-        \\||//
---o0O0--Earnie--0O0o----
[email-masked]
------ooo0O--O0ooo-------

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".