Subject: Definition of va_list
To: None <tech-userlevel@netbsd.org>
From: Krister Walfridsson <cato@df.lth.se>
List: tech-userlevel
Date: 02/17/2001 21:05:09
Newer GCCs has 'va_list' as a built-in type, which conflicts with our
standard headers for most platforms. i386 has solved this by doing

#if __GNUC_PREREQ__(2, 96)
#define _BSD_VA_LIST_           __builtin_va_list /* GCC built-in type */
#else
#define _BSD_VA_LIST_           char *          /* va_list */
#endif

in ansi.h, and similar changes where appropriate in the other header
files.

Does anyone object to me doing the same in the other ports?

   /Krister