gcc 1.35 conflicting types message?

Doug Gwyn gwyn at smoke.BRL.MIL
Mon May 8 07:53:14 AEST 1989


In article <8124 at june.cs.washington.edu> pardo at uw-june.UUCP (David Keppel) writes:
>Now the question:  I have asserted several times that you cannot
>(portably) call between prototyped and non-prototyped code.

Wrong.  <stdarg.h> does require a properly prototype for each variadic
function, but otherwise if the argument types agree after default
promotion rules are applied, a function can be declared either way.



More information about the Comp.std.c mailing list