This is the mail archive of the gcc@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]

va_list problems on NetBSD.


The compiler doesn't bootstrap any longer on NetBSD due to some
va_list lossage.

What is happening is that the prototype for vasprintf in libiberty.h

   extern int vasprintf PARAMS ((char **, const char *, va_list))

conflicts with the prototype in /usr/include/stdio.h

   int      vasprintf __P((char **, const char *, _BSD_VA_LIST_))


I don't really understand how this is supposed to work, so can anyone
point me into the right direction?

   /Krister



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