This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [3.3/mainline;libiberty] Fix vasprintf.c


On Sat, Oct 04, 2003 at 06:34:33AM +0200, Josef Zlomek wrote:
> I do not exactly wky but Honza told me that "&args" where args is
> va_list is not defined anyway.

Perhaps it is a macro?

On some operating systems va_list is a struct,
on others it is a pointer to an argument list.
You said that the problem was related to it
being an ARRAY instead of a pointer, that confused
me before - and now I get the feeling this particular
case hasn't been investigated until it was understood
fully - are you sure it is an array? (ie, typedef int va_list[MAX_ARGS]).
If you'd give the preprocessed source for that target,
then we can see the real definition of va_list and
hopefully understand this better.

-- 
Carlo Wood <carlo@alinoe.com>

PS I am a perfectionist, I have the urge to dig into things
   until I fully understand them before I make decisions - and
   I happen to have arbitrary amounts of time to do so; but if
   you feel that this particular function (int_sprintf) isn't
   worth any more time; then feel free to terminate this
   thread ;)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]