Hello,
I did today a try to port Lftp to os2.
And it fails, i used Gcc 4.32
It fails @ the make
In file included from ../lib/unistd.h:27,
from ../lib/unistd.h:27,
from log.h:26,
from FileAccess.cc:36:
U:/USR/include/unistd.h:476: error: declaration of C function 'void*
sbrk(long int)' conflicts with
U:/USR/include/stdlib.h:387: error: previous declaration 'void*
sbrk(intptr_t)' here
U:/USR/include/unistd.h:650: error: declaration of C function 'void*
_sbrk(long int)' conflicts with
U:/USR/include/stdlib.h:416: error: previous declaration 'void*
_sbrk(intptr_t)' here
FileAccess.cc: In member function 'virtual const char*
FileAccess::StrError(int)':
FileAccess.cc:205: warning: missing sentinel in function call
FileAccess.cc:213: warning: missing sentinel in function call
FileAccess.cc:219: warning: missing sentinel in function call
FileAccess.cc:225: warning: missing sentinel in function call
FileAccess.cc:229: warning: missing sentinel in function call
FileAccess.cc:233: warning: missing sentinel in function call
FileAccess.cc:235: warning: missing sentinel in function call
FileAccess.cc: In member function 'void FileAccess::SetError(int, const
char*)':
FileAccess.cc:603: warning: missing sentinel in function call
make.exe[1]: *** [FileAccess.lo] Error 1
make.exe[1]: Leaving directory `U:/lftp-3.7.5/src'
make.exe: *** [all-recursive] Error 1
Any idea ?
--
With the best regards,
Elbert Pol
--------------------------------------------------
*** Take a look at www.romeepol.nl ***
--------------------------------------------------