[Box Backup-dev] RC3 compile problems on NetBSD
Ben Summers
boxbackup-dev@fluffy.co.uk
Sat, 18 Feb 2006 13:50:49 +0000
On 18 Feb 2006, at 13:39, Chris Wilson wrote:
> Hi all,
>
> Trying to test on NetBSD 2.0.2 (GENERIC) i386, I get some compile
> failures:
>
> g++ -g -Wall -DBOX_VERSION="\"0.09_plus3\"" -g -Wall -c
> EventWatchFilesystemObject.cpp -o
> ../../debug/lib/common/EventWatchFilesystemObject.o
> EventWatchFilesystemObject.cpp: In member function `void
> EventWatchFilesystemObject::FillInKEvent(kevent&, int) const':
> EventWatchFilesystemObject.cpp:132: error: invalid conversion from
> `void*'
> to `int'
> *** Error code 1
>
> g++ -g -Wall -DBOX_VERSION="\"0.09_plus3\"" -g -Wall -c
> WaitForEvent.cpp -o ../../debug/lib/common/WaitForEvent.o
> WaitForEvent.cpp: In member function `void* WaitForEvent::Wait()':
> WaitForEvent.cpp:164: error: invalid conversion from `__intptr_t' to
> `void*'
> *** Error code 1
>
> I'm testing after adding explicit type casts to the required type.
Careful with that -- sounds like a potential API difference.
Ben