From: earnie_boyd AT hotmail DOT com (Earnie Boyd) Subject: Re: ctype.h and serious programming 17 Feb 1998 06:27:05 -0800 Message-ID: <19980217134027.11555.qmail.cygnus.gnu-win32@hotmail.com> Content-Type: text/plain To: vischne AT ibm DOT net Cc: gnu-win32 AT cygnus DOT com >From: vischne AT ibm DOT net >Date: Tue, 17 Feb 1998 02:42:09 GMT >Subject: ctype.h and serious programming >To: gnu-win32 AT cygnus DOT com > >If you've done some porting to cygwin, you'll notice that ctype.h often >gives syntax errors. Out of curiosity, I substituted >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 , which is a pure macro version, shouldn't >replace cygwin's ? 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---- -earnie_boyd AT hotmail DOT com- ------ooo0O--O0ooo------- ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".