[haiku-commits] Re: r37221 - haiku/trunk/src/libs/compat/freebsd_network

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 23 Jun 2010 09:46:08 +0200

Ingo Weinhold <ingo_weinhold@xxxxxx> wrote:
> > > Unfortunately the FreeBSD headers are not C++ safe and <vm/vm.h>
> > > (ours) is
> > > not C safe. Hence the indirection to insulate one from the other.
> > extern "C" {
> > #    include <my-favourite-freebsd-header.h>
> > }
> That would probably solve the C++ safety problem, but there are also 
> other 
> issues, like FreeBSD types clashing with private kernel types. Feel 
> free to 
> experiment with that mess, if you are bored. :-)

Not that much :-)
I'll change that when I work on that code anyway next time.

Bye,
   Axel.


Other related posts: