From owner-freebsd-current Tue Nov 5 2:59:29 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 4CA7D37B401; Tue, 5 Nov 2002 02:59:28 -0800 (PST) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 189C143E6E; Tue, 5 Nov 2002 02:59:28 -0800 (PST) (envelope-from mux@freebsd.org) Received: by elvis.mu.org (Postfix, from userid 1920) id DF94BAE33D; Tue, 5 Nov 2002 02:59:27 -0800 (PST) Date: Tue, 5 Nov 2002 02:59:27 -0800 From: Maxime Henrion To: Patrick Hartling Cc: current@freebsd.org, marcel@freebsd.org Subject: Re: uuid.h is not C++ safe Message-ID: <20021105105927.GE26605@elvis.mu.org> References: <3DC71B56.1050102@137.org> <20021105105813.GD26605@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021105105813.GD26605@elvis.mu.org> User-Agent: Mutt/1.4i 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 Maxime Henrion wrote: > Patrick Hartling wrote: > > 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. > > This should be fixed with the attached patch. Marcel, can you review > and commit it please ? A identical patch has just been committed while I was sending this mail, please discard it. Maxime To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message