Strange behaviour with old-style code

Doug Gwyn gwyn at smoke.brl.mil
Sat Feb 9 21:07:51 AEST 1991


In article <1991Feb6.190607.11731 at alias.uucp> rsargent at alias.UUCP (Richard Sargent) writes:
>I have come across a compiler which does something very unusual
>in its handling of old-style functions.

Looks to me like the arguments are default-promoted to widened types,
then assigned to local variables of the declared type in the function
definition.  This is exactly what is SUPPOSED to occur.  What did you
expect?



More information about the Comp.std.c mailing list