From owner-freebsd-current Thu Oct 18 1:53:16 2001 Delivered-To: freebsd-current@freebsd.org Received: from birch.ripe.net (birch.ripe.net [193.0.1.96]) by hub.freebsd.org (Postfix) with ESMTP id B262F37B407; Thu, 18 Oct 2001 01:53:12 -0700 (PDT) Received: from laptop.6bone.nl (penguin.ripe.net [193.0.1.232]) by birch.ripe.net (8.11.6/8.11.6) with SMTP id f9I8rC202153; Thu, 18 Oct 2001 10:53:12 +0200 Received: (nullmailer pid 6275 invoked by uid 1000); Thu, 18 Oct 2001 08:53:12 -0000 Date: Thu, 18 Oct 2001 10:53:11 +0200 From: Mark Santcroos To: obrien@freebsd.org Cc: freebsd-current@freebsd.org Subject: commit to ansi.h Message-ID: <20011018105311.D508@laptop.6bone.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Handles: MS6-6BONE, MS18417-RIPE Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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