Register arguments (was: Order of registers)

karl at haddock.UUCP karl at haddock.UUCP
Tue Mar 3 06:56:19 AEST 1987


In article <13646 at sun.uucp> guy at sun.UUCP (Guy Harris) writes:
>	extern int foo(register int i);
>	int foo(register int i) { ... }
>[These declarations] could cause "i" to be passed in a register.

You imply that the declaration "extern int foo(int)" (without "register") is
incompatible with the definition "int foo(register int i) { ... }".  Does
X3J11 really say this?

Karl W. Z. Heuer (ima!haddock!karl or karl at haddock.isc.com), The Walking Lint



More information about the Comp.lang.c mailing list