[TUHS] nm on Third Edition .o files?

Tony Finch dot at dotat.at
Tue Dec 20 22:24:22 AEST 2016


Noel Chiappa <jnc at mercury.lcs.mit.edu> wrote:

> I wonder why it was written as "0177776->integ", rather than "*017776"?
> Probably the former allowed the C compiler to work out what size the
> operand was.

I guess the alternatives would be casting (when did C get its cast
operator?) or assigning the number to a pointer variable.

Tony.
-- 
f.anthony.n.finch  <dot at dotat.at>  http://dotat.at/  -  I xn--zr8h punycode
Viking, North Utsire: Southerly veering southwesterly later, 7 to severe gale
9, occasionally storm 10 in north. Very rough or high. Occasional rain. Good,
occasionally poor.



More information about the TUHS mailing list