Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 May 2009 05:50:34 +0200
From:      Joerg Sonnenberger <joerg@britannica.bec.de>
To:        freebsd-hackers@freebsd.org
Subject:   Re: Definition of NULL
Message-ID:  <20090505035034.GH3417@britannica.bec.de>
In-Reply-To: <200905041046.02920.jhb@freebsd.org>
References:  <d41814900905020859q4faff431p8819aaf38dfe9e78@mail.gmail.com> <200905041046.02920.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 04, 2009 at 10:46:02AM -0400, John Baldwin wrote:
> I think this would be ok to let C++ work in the kernel.  "Embedded" C++ (no
> exceptions and no dynamic_cast<>) should work fine in theory.  I would not
> change the value of NULL that userland sees though as I think that may be too
> risky.

Well, use __null if present all the time, fallback to the alternatives
as currently defined.

Joerg



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