Thread (6 messages) flat view 6 messages, 4 authors, 2000-05-08

Re: Problems Compileing PVM

From: Michael Schmitz <hidden>
Date: 2000-05-08 09:35:55

On Sun, 07 May 2000, Michael Schmitz wrote:
quoted
quoted
__va_arg_type_violation
Franz once explained this error to me.  It seems according to the ANSI C
standard va_arg can only be done with primary (promoted) types like integer,
double, etc.  For any other type, a cast must be done to create proper ansi c.
That's what I meant by 'sloppy programming'. Your instructions cover
everything but one tiny detail: it is common practice to pass the 'args'
va_list argument to other functions further down. In some cases I've seen,
a pointer to the va_list argument is passed (which breaks on PPC). What's
the proper coding style here?

	Michael


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help