va_arg *, and why not.

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Mon Jul 17 07:14:00 GMT 2000


 > From: Mark Mitchell <mark@codesourcery.com>
 > 
 > >>>>> "Gabriel" == Gabriel Dos Reis <gdr@codesourcery.com> writes:
 > 
 >     Gabriel> Hmm, I'm confused there.  I was under the impression that
 >     Gabriel> it was taking the address of a va_list function argument
 >     Gabriel> that was not portable.  Furthermore, in his proposed
 >     Gabriel> resolution using va_copy was one option.
 > 
 > But with the caveat that there be a libiberty/system.h equivalent to
 > handle systems that do not define va_copy.


FYI, system.h already defines a backup va_copy.  I don't know if it's
*correct*, but it does exist.  You may wish to verify it DTRT.

		--Kaveh
--
Kaveh R. Ghazi			Engagement Manager / Project Services
ghazi@caip.rutgers.edu		Qwest Internet Solutions


More information about the Gcc-bugs mailing list