On Thu, Oct 18, 2001 at 01:37:29PM +0300, Ruslan Ermilov wrote: > > >From sys/i386/include/ansi.h: > > > > (1) #if defined __GNUC__ > > (2) #if (__GNUC__ > 2 || __GNUC__ == 2 && __GNUC_MINOR__ > 95) > > (3) #define _BSD_VA_LIST_ __builtin_va_list /* internally known to gcc */ > > (4) #endif > > (5) typedef _BSD_VA_LIST_ __gnuc_va_list; /* compatibility w/GNU >headers*/ > > (6) #else > > (7) #define _BSD_VA_LIST_ char * /* va_list */ > > (8) #endif /*__GNUC__*/ > > > > On my system, (1) is TRUE, (2) is FALSE, so in (5) _BSD_VA_LIST_ is > > undefined. (which breaks building a kernel, and probably more) > > > > Placing a (7) before (5) solves the problem. > > > _BSD_VA_LIST_ is needed for non-GCC compilers as well. Please > see attached for the correct patch.
Uh?? It *is* defined for non-GCC compilers -- in line (7) above. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
