#5135: compilation failure on Darwin 8 due to _POSIX_C_SOURCE
-------------------------+--------------------------------------------------
Reporter: guest | Owner: igloo
Type: bug | Status: patch
Priority: high | Milestone: 7.4.1
Component: Compiler | Version: 6.12.3
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: MacOS X | Blocking:
Architecture: powerpc | Failure: Building GHC failed
-------------------------+--------------------------------------------------
Comment(by guest):
10.4 has:
{{
#ifndef _POSIX_C_SOURCE
typedef unsigned char u_char;
typedef unsigned short u_short;
typedef unsigned int u_int;
}}
while on 10.3:
{{
#ifndef _POSIX_SOURCE
typedef unsigned char u_char;
typedef unsigned short u_short;
typedef unsigned int u_int;
typedef unsigned long u_long;
typedef unsigned short ushort; /* Sys V compatibility */
typedef unsigned int uint; /* Sys V compatibility */
#endif
}}
(I just checked the headers, never tried to compile here.)
On the other hand, my Tiger box has died on me, so I'm stuck with G5/10.5,
x86/10.6 and x64/10.7 now. I can imagine when you would want to close
this bug.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5135#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs