Joined: July 2006
||Posted: April 13 2008,04:47
- that hex number and LONG_MAX are the same number when built under DSL with the compile extension
- if you don't want to edit the source, you can just pass -D flags, i.e. -DSSIZE_MAX=LONG_MAX
- the Debian question was meant for Jason W
I think there might be a problem with the compiler setup though. By looking at the header files, it should be defined.
Compiling a simple test app for related defines worked under Debian with gcc 3.3.5, but didn't work under the compile-3.3.5 setup. However, if I copy limits.h over to cwd (and then include that instead), everything works. It seems that the system wide limits.h has certain parts that are ignored. EDIT: It seems that compiling it with only via sudo works... so it may seem to be a permissions problem? (Doesn't seem to work if you use a 'root' shell though)