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


_______________________________________________
pspp-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/pspp-dev

Reply via email to