Displaying 3 results from an estimated 3 matches for "safeunistd".
2015 Jul 04
2
Trouble installing xapian on windows
...l-op -Wmissing-declarations -Wdo
uble-promotion -Winit-self -fvisibility=hidden -mfpmath=sse -msse2 -mtune=generi
c -g -O2 -MT api/compactor.lo -MD -MP -MF api/.deps/compactor.Tpo -c api/compact
or.cc -DDLL_EXPORT -DPIC -o api/.libs/compactor.o
In file included from api/compactor.cc:39:0:
./common/safeunistd.h: In function 'unsigned int sleep(unsigned int)':
./common/safeunistd.h:56:1: error: redefinition of 'unsigned int sleep(unsigned
int)'
sleep(unsigned int seconds)
^
In file included from ./common/safeunistd.h:25:0,
from api/compactor.cc:39:
c:\mingw\include\unis...
2015 Jul 05
0
Trouble installing xapian on windows
...ut below). So far i have two
> questions:
>
> 1) Why mingw is not working for me? Is it bug or i am doing something wrong?
Our buildbot has a mingw-w64 cross-compiled build which seems to be
working currently:
http://buildbot.xapian.org/builders/stable%20tar%20mingw-cross
> ./common/safeunistd.h: In function 'unsigned int sleep(unsigned int)':
> ./common/safeunistd.h:56:1: error: redefinition of 'unsigned int sleep(unsigned
> int)'
> sleep(unsigned int seconds)
> ^
> In file included from ./common/safeunistd.h:25:0,
> from api/compacto...
2008 Feb 28
2
Can't get xapian-core 1.05 to build under windows xp
...NCLUDE/sys/types.h), line 23: #error E
RROR: Only Mac or Win32 targets supported!
..\win32\makedepend.exe: warning: .\utils.cc (reading
C:/PROGRA~1/MIAF9D~1/VC98/INCLUDE/sys/stat.h), line 23: #error ER
ROR: Only Mac or Win32 targets supported!
..\win32\makedepend.exe: warning: .\utils.cc (reading safeunistd.h, line
25): cannot find include file "unistd.h"
not in ../unistd.h
not in ../include/unistd.h
not in ../common/unistd.h
not in \work/zlib123-dll/include/unistd.h
not in
C:/PROGRA~1/MIAF9D~1/VC98/ATL/INCLUDE;C:/PROGRA~1/MIAF9D~1/VC98/INCLUDE;C:/PROG...