Re: [commit: ghc] master: define own version of PRIdPTR on platform where its not available (71f7ab6)
Karel Gardas <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.cvs.ghc |
|---|---|
| Message-ID | <[email protected]> |
On 11/ 9/12 06:53 PM, Gabriel Dos Reis wrote: > Include<inttypes.h> before all other standard headers. > I I understand your "standard headers" well, then this is already done in mkDerivedConstants.c, see: [...] #define PROFILING #define THREADED_RTS #include "PosixSource.h" #include "Rts.h" #include "Stable.h" #include "Capability.h" #include <inttypes.h> #include <stdio.h> #include <string.h> [...] The problem which I describe is in the position of PosixSource.h which defines problematic _XOPEN_SOURCE and <inttypes.h> includes... Karel