From: Jiří S. <jir...@bl...> - 2008-07-08 13:52:41
|
> g++ -g -O2 `llvm-config --cppflags` -c -o runtime.o runtime.cc > In file included from D:/MinGW/include/windef.h:253, > from D:/MinGW/include/windows.h:48, > from runtime.cc:2518: > D:/MinGW/include/winnt.h:3002: error: expected unqualified-id before > numeric con > stant > D:/MinGW/include/winnt.h:3002: error: expected `)' before numeric constant > make: *** [runtime.o] Error 1 > // See http://www.math.keio.ac.jp/~matumoto/emt.html for the original sources. #define N (624) #define M (397) #define K (0x9908B0DFU) #define hiBit(u) ((u) & 0x80000000U) #define loBit(u) ((u) & 0x00000001U) #define loBits(u) ((u) & 0x7FFFFFFFU) #define mixBits(u, v) (hiBit(u)|loBits(v)) "N" from the above conflicts with "N" from the below (included from winnt.h): typedef struct _IMAGE_SYMBOL { union { BYTE ShortName[8]; struct { DWORD Short; DWORD Long; } Name; PBYTE LongName[2]; } N; Jiri |