This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
FW: Patch to fix cygwin-xfree+gcc-2.95.3+autoconf problem
- From: "Harold Hunt" <huntharo at msu dot edu>
- To: "cygx" <cygwin-xfree at cygwin dot com>
- Cc: <stodghil at cs dot cornell dot edu>
- Date: Fri, 5 Apr 2002 14:17:29 -0500
- Subject: FW: Patch to fix cygwin-xfree+gcc-2.95.3+autoconf problem
Here is what Paul had to say. Put together with what Alan said it sounds
like __STDC__ will be coming out of StandardDefines.
Alan, do you want to commit this directly, or would you like me to submit a
patch?
Harold
-----Original Message-----
From: Paul Stodghill [mailto:stodghil@cs.cornell.edu]
Sent: Friday, April 05, 2002 1:53 PM
To: Harold Hunt
Subject: RE: Patch to fix cygwin-xfree+gcc-2.95.3+autoconf problem
It's been over a year, but I believe that my reasoning was as follows,
I guess it is not technically a bug. However, the C standard (or at least
the c9x draft that I have) says that __STDC__ is a predefined implementation
specific macro. The GCC manual discusses how __STDC__ is set depending upon
the use of the -traditional flag. I don't believe that it makes sense to set
or unset __STDC__ either from the command line or using preprocessor
directives.
Hope this helps.
> -----Original Message-----
> From: Harold Hunt [mailto:huntharo@msu.edu]
> Sent: Friday, April 05, 2002 1:32 PM
> To: Paul Stodghill
> Cc: cygx
> Subject: RE: Patch to fix cygwin-xfree+gcc-2.95.3+autoconf problem
>
>
> I recently stumbled across a message you wrote way back in March 2001:
> http://list-archive.xemacs.org/xemacs-patches/200103/msg00082.html
>
> I notice that you say that cygwin.cf shouldn't be defining __STDC__ in
> StandardDefines. I can see that linux.cf and darwin.cf do not define
> __STDC__ in StandardDefines, but I don't know why we should
> not be defining
> it either.
>
> A quick and explanation would get this problem quickly
> remedied (I like to
> do things correctly, so I'd like to fix this problem).
>
> Thanks,
>
> Harold
>
>