This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
>
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]