$ cc -Ae +DD32 -z +Z +w -o z test.c
"test.c", line 21: warning #2171-D: invalid type conversion
p, (ull_p)slot, byte, bit, nop);
^
"test.c", line 29: warning #2171-D: invalid type conversion
for (p = (ull_p)123456ULL; p < (ull_p)(1ULL << 31); p += (1ULL <
+< 29))
^
"test.c", line 29: warning #2171-D: invalid type conversion
for (p = (ull_p)123456ULL; p < (ull_p)(1ULL << 31); p += (1ULL <
+< 29))
^
$ file z
z: ELF-32 executable object file - IA64
$ ./z
address: 00000001e240 slot: 000000000000 byte: f12 bit: 0 nop: 0
address: 00002001e240 slot: 000000000400 byte: f12 bit: 0 nop: 0
address: 00004001e240 slot: 000000000800 byte: f12 bit: 0 nop: 0
address: 00006001e240 slot: 000000000c00 byte: f12 bit: 0 nop: 0
$
Enjoy, Have FUN! H.Merijn
|