passing *char parameters by reference

Karl Heuer karl at haddock.ima.isc.com
Mon Aug 14 04:54:46 AEST 1989


In article <660050 at hpclwjm.HP.COM> walter at hpclwjm.HP.COM (Walter Murray) writes:
>If you use function prototypes, an ANSI-conforming compiler will also
>catch this kind of error.

Or it might silently "fix" it by doing an automatic conversion from the actual
argument type to the formal parameter type.  Hopefully, any reasonable ANSI C
compiler will at least have an option to warn about such constructs.

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