Hello. I am learning C. For current exercise I need to use the ULONG_MAX from limits.h . I have the >>current milestone of OpenSUSE<< installed. In the code I have, with nothing else in between: unsigned long int var; var=ULONG_MAX; printf("%ld",var); When executed, the last statement of the three prints out "-1" . gcc -ansi -Wall gives no output at all for this revision of the program. Though I have hardware capable of virtualization, I don't have the space to install a VM. I suspect it's a bug in OpenSUSE (maybe even quite old), so can someone, please, do quick check on a stable release of OpenSUSE, what value does the ULONG_MAX take? When I examined /usr/lib64/gcc/x86_64-suse-linux/4.8/include-fixed/limits.h and /usr/include/linux/limits.h , for me it looks like a third header with __LONG_MAX__ is needed. I have had installed the devel_basis, devel_kernel and devel_C_C++ patterns. To make it easier, here's the code to check the value: #include<stdio.h> #include<limits.h> int main (void) { unsigned long int var; var=ULONG_MAX; printf("%ld",var); return 0; } -- Marek Paśnikowski -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org