From owner-freebsd-current@FreeBSD.ORG Sun Feb 15 17:59:41 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6596106566B for ; Sun, 15 Feb 2009 17:59:41 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from sarah.protected-networks.net (sarah.protected-networks.net [IPv6:2001:470:1f07:4e1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 3EC008FC16 for ; Sun, 15 Feb 2009 17:59:41 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [IPv6:2001:470:1f07:4e1::4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Iain Michael Butler", Issuer "Protected Networks Certificate Authority" (verified OK)) (Authenticated sender: imb) by sarah.protected-networks.net (Postfix) with ESMTPSA id 13E606184; Sun, 15 Feb 2009 12:59:39 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=protected-networks.net; s=200705; t=1234720779; bh=0IJ0Tma9kJQSyZgQDq6IFyJb/YJqK211gtiY/+642bA=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=O/il5plISYAGqJMpYST1MUjbxkhivddmphkTiKw2Sh1RaxykEdmWJD0GNL/Mip/mE BuatujjSl6wACfKq4uvOw/FRSh9gTYs6+fn6PJq9g+g/9b2HKmFTgw8ub+QZgEt DomainKey-Signature: a=rsa-sha1; s=200509; d=protected-networks.net; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:cc:subject: references:in-reply-to:x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=UlsUm1N57oKslTLB9MQKuTzATjA95Rz/Z2h7/IMOyDzrlASk+7AkLqjHNJMHB3A9/ vs8mzKnue81sTbhgKFdPwKiKXDMlLbzMZGMXvfu8jlacTKEu4pEHd/iHlSuVzib Message-ID: <49985807.805@protected-networks.net> Date: Sun, 15 Feb 2009 12:59:35 -0500 From: Michael Butler User-Agent: Thunderbird 2.0.0.19 (X11/20090128) MIME-Version: 1.0 To: gary.jennejohn@freenet.de References: <4995BB1B.7060201@icyb.net.ua> <20090213231513.GA20223@duncan.reilly.home> <4997F105.5020409@icyb.net.ua> <499811DF.6030905@incunabulum.net> <20090215151318.0d17bfb9@ernst.jennejohn.org> <49983868.5010107@incunabulum.net> <20090215182420.774b90c3@ernst.jennejohn.org> In-Reply-To: <20090215182420.774b90c3@ernst.jennejohn.org> X-Enigmail-Version: 0.95.7 OpenPGP: id=0442D492 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Andrew Reilly , Bruce Simpson , Andriy Gapon , freebsd-current@freebsd.org Subject: Re: weeding out c++ keywords from sys/sys X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Feb 2009 17:59:42 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I know that using a "wrapper", something like: #ifdef __cplusplus namespace __whatever { extern "C" { #endif [ .. bunch of C prototypes .. ] #ifdef __cplusplus } #endif .. stops C++ from mangling the prototyped functions so they'll link correctly but does it temporarily disable the "reserved word" tests? Should it? ;-) Michael -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkmYWAcACgkQQv9rrgRC1JKnnQCeNJSMhFvG0666r4e+HLXIle1q 0GgAoMqep9fprWjFUB4z0bV0CLuJEV5+ =vRe+ -----END PGP SIGNATURE-----