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
_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc