Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Oct 2001 10:53:11 +0200
From:      Mark Santcroos <marks@ripe.net>
To:        obrien@freebsd.org
Cc:        freebsd-current@freebsd.org
Subject:   commit to ansi.h
Message-ID:  <20011018105311.D508@laptop.6bone.nl>

next in thread | raw e-mail | index | archive | help
Hi David

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. 

Mark

-- 
Mark Santcroos				RIPE Network Coordination Centre
http://www.ripe.net/home/mark/		New Projects Group/TTM

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011018105311.D508>