Compilation issue on Solaris 10 / SolarisStudio 12.3
Logging Framework for C++
Brought to you by:
wilx
I did these compilation steps:
./configure CFLAGS=-DUNICODE CPPFLAGS=-DUNICODE make
Compilation failed with error:
/bin/bash ../libtool --tag=CXX --mode=compile CC -DHAVE_CONFIG_H -DINSIDE_LOG4CPLUS -I../include -I../include -DNDEBUG -DUNICODE -D_GNU_SOURCE=1 -D_REENTRANT -no-suppress -g +w -features=zla -library=stlport4 -library=Crun -xldscope=hidden -mt -D_REENTRANT -xthreadvar -c -o socket-unix.lo socket-unix.cxx libtool: compile: CC -DHAVE_CONFIG_H -DINSIDE_LOG4CPLUS -I../include -I../include -DNDEBUG -DUNICODE -D_GNU_SOURCE=1 -D_REENTRANT -g +w -features=zla -library=stlport4 -library=Crun -xldscope=hidden -mt -D_REENTRANT -xthreadvar -c socket-unix.cxx -KPIC -DPIC -o .libs/socket-unix.o "socket-unix.cxx", line 169: Error: The operation "const char* + std::wstring " is illegal. "socket-unix.cxx", line 279: Warning (Anachronism): Formal argument accept_func of type int(*)(int,sockaddr*,void*) in call to::accept_wrap<sockaddr*, void>(int(*)(int,sockaddr*,void*), int, sockaddr*, unsigned*) is being passed extern "C" int(*)(int,sockaddr*,void*). 1 Error(s) and 1 Warning(s) detected. make[1]: *** [socket-unix.lo] Error 1 make[1]: Leaving directory `/BUILD/SOFT/tools/log4cplus/1.1.0/src' make: *** [all-recursive] Error 1
For your information 1.1.1rc3 version compilation is OK.
Thank you for the bug report. This is already fixed by revision 885 on 1.1.x branch.
Diff: