Subject: Re: c++ build problem with digikam
To: None <email@example.com>
From: None <firstname.lastname@example.org>
Date: 02/19/2006 15:07:30
On Sun, Feb 19, 2006 at 10:45:24PM +1300, Mark Davies wrote:
> On Sunday 19 February 2006 22:21, Julio M. Merino Vidal wrote:
> > I fixed this problem by moving the 'extern "C"' includes block
> > after the C++ includes one.
> > The problem comes with the inclusion of tiffio.h, which messes
> > everything up. I don't know why exactly, but I guess that this
> > way some C++ definition has preference over the C one.
> yes, moving <unistd.h> before <tiffio.h>, at Christos' suggestion, was enough
> to fix it.
It gets most likely a C-style NULL definition from somewhere. Can you
take a further look and eliminate that if possible?