Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Feb 2009 10:15:13 +1100
From:      Andrew Reilly <andrew-freebsd@areilly.bpc-users.org>
To:        Andriy Gapon <avg@icyb.net.ua>
Cc:        freebsd-current@freebsd.org
Subject:   Re: weeding out c++ keywords from sys/sys
Message-ID:  <20090213231513.GA20223@duncan.reilly.home>
In-Reply-To: <4995BB1B.7060201@icyb.net.ua>
References:  <4995BB1B.7060201@icyb.net.ua>

index | next in thread | previous in thread | raw e-mail

On Fri, Feb 13, 2009 at 08:25:31PM +0200, Andriy Gapon wrote:
> Rationale:
> There are people who write FreeBSD drivers in C++,

There are?  I can't find any in /usr/src/sys by any of the usual
suffixes.  Whatever would you want to do that for, anyway?  That
would bring a whole extra language runtime support library into the
kernel, and complicate the boot process with constructors and
what-not.

Seems like a backwards step, to me.

Not that this should stop you from de-keywording the include
files, if that takes your fancy, but permuting a variable
"class" into "clazz" is a bit gruesome, imo.  Why not just comment
the argument name out altogether?  It's not strictly needed in
the prototype.

Cheers,

Andrew


help

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