Bug #1450: Illumos should be buildable with GCC4
pcisch could avoid type promotion
There's a debug printf in pcisch which causes compiler weirdness relating to implicit types
We do, in effect,
printf("%lx", ((foo & 0xfffull) >> 25));
This causes GCC to type the printf argument as unsigned long long (because of the specifier on the shift), but studio not to. Meaning that there's no way to appease their respective format string checking (note that the types happen to be always the same size, so nothing actually goes wrong).
As best as I can tell, the use of 'ull' was to force things to be 64bit even on 32bit SPARC, which hasn't existed for approaching a decade, qualifying them to unsigned long (still 64bit), makes everythig happy.