From owner-cvs-src@FreeBSD.ORG Fri Mar 5 14:40:24 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EBF6416A515; Fri, 5 Mar 2004 14:40:24 -0800 (PST) Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.157.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF3FB43D2F; Fri, 5 Mar 2004 14:40:19 -0800 (PST) (envelope-from mark@grondar.org) Received: from storm.FreeBSD.org.uk (Ugrondar@localhost [127.0.0.1]) i25MeIjV095390; Fri, 5 Mar 2004 22:40:18 GMT (envelope-from mark@grondar.org) Received: (from Ugrondar@localhost)i25MeI8U095389; Fri, 5 Mar 2004 22:40:18 GMT (envelope-from mark@grondar.org) X-Authentication-Warning: storm.FreeBSD.org.uk: Ugrondar set sender to mark@grondar.org using -f Received: from grondar.org (localhost [127.0.0.1])i25Ma60w033105; Fri, 5 Mar 2004 22:36:06 GMT (envelope-from mark@grondar.org) From: Mark Murray Message-Id: <200403052236.i25Ma60w033105@grimreaper.grondar.org> To: John Baldwin In-Reply-To: Your message of "Fri, 05 Mar 2004 17:13:18 EST." <200403051713.18571.jhb@FreeBSD.org> Date: Fri, 05 Mar 2004 22:36:06 +0000 Sender: mark@grondar.org X-Spam-Score: 4 (****) FROM_NO_LOWER,MSGID_FROM_MTA_SHORT X-Scanned-By: MIMEDefang 2.39 cc: cvs-src@FreeBSD.ORG cc: src-committers@FreeBSD.ORG cc: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/bin/df df.c src/bin/pax options.c src/lib/libbluetooth bluetooth.c src/lib/libbsnmp Makefile.inc src/lib/libc/gen dlfcn.c getpwent.c src/lib/libc/net gethostbydns.c src/lib/libc/rpc getnetconfig.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Mar 2004 22:40:25 -0000 John Baldwin writes: > > Can't ``#if defined(_KERNEL) || !defined(__cplusplus)'' be reduced to > > just ``#ifndef __cplusplus''? The current version somehow implies > > that the kernel may have C++ sources, which it's not. > > Some companies that deploy FreeBSD in embedded products use C++ kernel code. This would imply that "defined(__cplusplus)" needs to be checked for in the kernel. I'll do this, if you like? M -- Mark Murray iumop ap!sdn w,I idlaH