[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problem compiling value-rep branch on mingw
From: |
michel |
Subject: |
problem compiling value-rep branch on mingw |
Date: |
Thu, 14 May 2009 01:22:43 -0300 |
User-agent: |
RoundCube Webmail/0.2 |
Hello,
I got an error trying to compile the value-rep branch on mingw.
It complains about an undefined ULONG_MAX.
"grep ULONG_MAX * -R | cut -d ":" -f 1 | sort -u" gaves me a lot of files
who uses this:
gl/regex_internal.h
gl/stdint.in.h
gl/strtol.c
perl-module/ppport.h
src/data/dictionary.c
src/libpspp/bt.c
src/libpspp/range-map.h
src/libpspp/range-set.c
src/libpspp/sparse-array.c
src/libpspp/sparse-xarray.c
src/libpspp/tower.c
src/output/postscript.c
tests/libpspp/range-set-test.c
tests/libpspp/sparse-array-test.c
So I put an "#require <limit.h>" on config.h and it compiles, but I don't
know if it will work.
On my /usr/include/limit.h there is:"#define ULONG_MAX 4294967295UL"
and on my mingw limit.h version: "#define ULONG_MAX 0xffffffffUL"
Best regards,
Michel
- problem compiling value-rep branch on mingw,
michel <=