From owner-freebsd-current Mon Nov 4 17:14: 7 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25E5437B401 for ; Mon, 4 Nov 2002 17:14:06 -0800 (PST) Received: from gypsy.vrac.iastate.edu (gypsy.vrac.iastate.edu [129.186.232.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8103243E4A for ; Mon, 4 Nov 2002 17:14:05 -0800 (PST) (envelope-from patrick@137.org) Received: from 137.org (plan114-105.icsincorporated.com [65.171.114.105]) by gypsy.vrac.iastate.edu (Postfix) with ESMTP id 9075B21 for ; Mon, 4 Nov 2002 19:13:59 -0600 (CST) Message-ID: <3DC71B56.1050102@137.org> Date: Mon, 04 Nov 2002 19:13:58 -0600 From: Patrick Hartling User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021029 X-Accept-Language: en-us, en MIME-Version: 1.0 To: current@freebsd.org Subject: uuid.h is not C++ safe Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I was just about to put the new DCE 1.1 UUID functions into use in some C++ code, but linking fails because the function prototypes in uuid.h are not protected with the __cplusplus/extern "C" bits. It's easy enough for me to fix my local copy, but I'm sure this same thing could trip up other people. -Patrick -- Patrick L. Hartling | Research Assistant, VRAC patrick@137.org | 2274 Howe Hall Room 2624 PGP: http://www.137.org/patrick/pgp.txt | T: +1.515.294.4916 http://www.137.org/patrick/ | http://www.vrac.iastate.edu/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message