Re: uuid.h is not C++ safe

2002-11-10 Thread Marcel Moolenaar
On Sun, Nov 10, 2002 at 04:04:11AM -0800, Maxime Henrion wrote: > Marcel Moolenaar wrote: > > On Tue, Nov 05, 2002 at 03:46:24PM -0800, Maxime Henrion wrote: > > [snip] > > > > > That's arguably bad, sys/uuid.h shouldn't have any !_KERNEL prototypes > > > > > in it. > > > > > > > > If there's a be

Re: uuid.h is not C++ safe

2002-11-10 Thread Maxime Henrion
Marcel Moolenaar wrote: > On Tue, Nov 05, 2002 at 03:46:24PM -0800, Maxime Henrion wrote: > [snip] > > > > That's arguably bad, sys/uuid.h shouldn't have any !_KERNEL prototypes > > > > in it. > > > > > > If there's a better place, then we should move it. We could put it in > > > , but I don't wan

Re: uuid.h is not C++ safe

2002-11-06 Thread Alex Zepeda
Neither is devinfo.h. The attached patch should fix it. - alex --- devinfo.h.orig Wed Nov 6 13:03:22 2002 +++ devinfo.h Wed Nov 6 13:04:37 2002 @@ -27,6 +27,9 @@ * $FreeBSD: src/lib/libdevinfo/devinfo.h,v 1.4 2002/09/20 02:16:33 imp Exp $ */ +#ifndef _DEVINFO_H +#define _DEVIN

Re: uuid.h is not C++ safe

2002-11-05 Thread Marcel Moolenaar
On Tue, Nov 05, 2002 at 03:46:24PM -0800, Maxime Henrion wrote: [snip] > > > That's arguably bad, sys/uuid.h shouldn't have any !_KERNEL prototypes > > > in it. > > > > If there's a better place, then we should move it. We could put it in > > , but I don't want to make that header a requirement if

Re: uuid.h is not C++ safe

2002-11-05 Thread Juli Mallett
* De: Maxime Henrion <[EMAIL PROTECTED]> [ Data: 2002-11-05 ] [ Subjecte: Re: uuid.h is not C++ safe ] > > If there's a better place, then we should move it. We could put it in > > , but I don't want to make that header a requirement if one > > only uses

Re: uuid.h is not C++ safe

2002-11-05 Thread Maxime Henrion
Marcel Moolenaar wrote: > On Tue, Nov 05, 2002 at 03:17:24AM -0800, Maxime Henrion wrote: > > Juli Mallett wrote: > > > * De: Maxime Henrion <[EMAIL PROTECTED]> [ Data: 2002-11-05 ] > > > [ Subjecte: Re: uuid.h is not C++ safe ] > > > > Maxime He

Re: uuid.h is not C++ safe

2002-11-05 Thread Marcel Moolenaar
On Tue, Nov 05, 2002 at 03:17:24AM -0800, Maxime Henrion wrote: > Juli Mallett wrote: > > * De: Maxime Henrion <[EMAIL PROTECTED]> [ Data: 2002-11-05 ] > > [ Subjecte: Re: uuid.h is not C++ safe ] > > > Maxime Henrion wrote: > > > > Patrick Hartling wr

Re: uuid.h is not C++ safe

2002-11-05 Thread Marcel Moolenaar
On Tue, Nov 05, 2002 at 03:04:19AM -0800, Juli Mallett wrote: > > > > > > This should be fixed with the attached patch. Marcel, can you review > > > and commit it please ? > > Oops, I probably should have pinged Marcel about this, now that I think > about it, but anyway, it shouldn't change anyt

Re: uuid.h is not C++ safe

2002-11-05 Thread Maxime Henrion
Juli Mallett wrote: > * De: Maxime Henrion <[EMAIL PROTECTED]> [ Data: 2002-11-05 ] > [ Subjecte: Re: uuid.h is not C++ safe ] > > Maxime Henrion wrote: > > > Patrick Hartling wrote: > > > > I was just about to put the new DCE 1.1 UUID functions

Re: uuid.h is not C++ safe

2002-11-05 Thread Juli Mallett
* De: Maxime Henrion <[EMAIL PROTECTED]> [ Data: 2002-11-05 ] [ Subjecte: Re: uuid.h is not C++ safe ] > 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 l

Re: uuid.h is not C++ safe

2002-11-05 Thread Maxime Henrion
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

Re: uuid.h is not C++ safe

2002-11-05 Thread Maxime Henrion
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 s

Re: uuid.h is not C++ safe

2002-11-05 Thread Jens Rehsack
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 thi

uuid.h is not C++ safe

2002-11-04 Thread Patrick Hartling
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 p