|
I wasn't sure is this was HP-UX specific, there is a weirdicious feature in GCC that will make the aforementioned program work with two changes (at least under Linux)
Use data type
long long l; /* Not typo! will compile */
and printf("%Ld", l); /* Notice capital L */
If GCC is used on various Os'es, it should work.
(I just checked on Solaris, it prints 1 :-(
Atle
__________________
PS
All of the above is to be read as '... unless I am wrong'
ENDPS
|