Vararg
Posted: Tue Aug 21, 2001 11:00 pm
Hi! That's my problem: my printf just don't work!!!
I cutted and pasted all stdargs I found, I wrote
some assembly code wich makes a copy of the stack
upon a call to printf, I made my own va_start &
va_list but nothing... The remarkable thing is
that all works well if I include my code in
"normal" C executables (under linux) and nothing
happens if included in my OS source. I'm going
crazy!!! May gcc has got unusual behaviour
with variadic functions? (I don't think so...)
Thanks in advance,
Matteo
P.S. PLEASE answer at <[email protected]>...
THANKS!!!!
I cutted and pasted all stdargs I found, I wrote
some assembly code wich makes a copy of the stack
upon a call to printf, I made my own va_start &
va_list but nothing... The remarkable thing is
that all works well if I include my code in
"normal" C executables (under linux) and nothing
happens if included in my OS source. I'm going
crazy!!! May gcc has got unusual behaviour
with variadic functions? (I don't think so...)
Thanks in advance,
Matteo
P.S. PLEASE answer at <[email protected]>...
THANKS!!!!