This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: crashing bug : found... destroyed
- To: "cygx" <cygwin-xfree at cygwin dot com>
- Subject: RE: crashing bug : found... destroyed
- From: "Harold Hunt" <huntharo at msu dot edu>
- Date: Tue, 31 Jul 2001 14:25:46 -0400
> THE FIX :
> I simply undefine __STRICT_ANSI__ before the math.h include, and
> redefine it
Oh, on the other hand, adding the -ansi flag (which causes __STRICT_ANSI__
to be defined) doesn't seem like such a great idea anymore, does it? :)
I tried talking to the Newlib (http://sources.redhat.com/newlib/) folks once
about fixing the way that they interpret the __STRICT_ANSI__ define, but
they were pretty damned arrogant about it, so I gave up trying to convince
them that they were misinterpreting the define. Of course, anyone with some
patience is more than welcome to talk to them. You need only look at the
headers providided with Linux or any other *NIX (Solaris, etc.) to come up
with lots of things that should be changed in the Newlib headers regarding
the __STRICT_ANSI__ define.
Harold