From owner-cvs-src@FreeBSD.ORG Fri Mar 5 12:26:42 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 0532816A4CE; Fri, 5 Mar 2004 12:26:42 -0800 (PST) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFBEE43D1D; Fri, 5 Mar 2004 12:26:41 -0800 (PST) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.9p1/8.12.8) with ESMTP id i25KQf9Q025723; Fri, 5 Mar 2004 12:26:41 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.9p1/8.12.3/Submit) id i25KQfqu025559; Fri, 5 Mar 2004 12:26:41 -0800 (PST) (envelope-from rizzo) Date: Fri, 5 Mar 2004 12:26:41 -0800 From: Luigi Rizzo To: Ruslan Ermilov Message-ID: <20040305122640.A20887@xorpc.icir.org> References: <200403050810.i258AJQt098278@repoman.freebsd.org> <20040305201941.GA4741@ip.net.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20040305201941.GA4741@ip.net.ua>; from ru@FreeBSD.org on Fri, Mar 05, 2004 at 10:19:41PM +0200 cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: Mark Murray 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 20:26:42 -0000 On Fri, Mar 05, 2004 at 10:19:41PM +0200, Ruslan Ermilov wrote: > On Fri, Mar 05, 2004 at 12:10:19AM -0800, Mark Murray wrote: > [...] > > Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror) > > that this provokes. "Wherever possible" means "In the kernel OR NOT > > C++" (implying C). > > > 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. actually... MIT's Click does use C++, and although it is a kernel module it is certainly a proof of concept that kernel can indeed be written in C++. cheers luigi > Cheers, > -- > Ruslan Ermilov > FreeBSD committer > ru@FreeBSD.org