Same code compiles correctly on gnu-linux-g++ target, so maybe there is a mixup of GNU/gcc and Solaris libraries happening somewhere?
`g++ -c -I/opt/osiris/include -I/usr/openwin/include -I/usr/include/freetype2 -g -Wall -W -fPIC -DQT_BUILTIN_GIF_READER=0 -DQT_NO_IMAGEIO_MNG -DQT_XFT -I/opt/osiris/src/3rdparty/zlib -I/opt/osiris/src/3rdparty/libpng -o kernel/qfont_x11.o kernel/qfont_x11.cpp
In file included from /opt/osiris/include/qstring.h:43:0,
from kernel/qwindowdefs.h:44,
from kernel/qwidget.h:42,
from kernel/qfont_x11.cpp:40:
/opt/osiris/include/qcstring.h:125:16: error: conflicting declaration of 'size_t qstrlen(const char*)' with 'C' linkage
Same code compiles correctly on gnu-linux-g++ target, so maybe there is a mixup of GNU/gcc and Solaris libraries happening somewhere?
`g++ -c -I/opt/osiris/include -I/usr/openwin/include -I/usr/include/freetype2 -g -Wall -W -fPIC -DQT_BUILTIN_GIF_READER=0 -DQT_NO_IMAGEIO_MNG -DQT_XFT -I/opt/osiris/src/3rdparty/zlib -I/opt/osiris/src/3rdparty/libpng -o kernel/qfont_x11.o kernel/qfont_x11.cpp In file included from /opt/osiris/include/qstring.h:43:0, from kernel/qwindowdefs.h:44, from kernel/qwidget.h:42, from kernel/qfont_x11.cpp:40: /opt/osiris/include/qcstring.h:125:16: error: conflicting declaration of 'size_t qstrlen(const char*)' with 'C' linkage
define strlen qstrlen
/opt/osiris/include/qcstring.h:89:22: note: previous declaration with 'C++' linkage Q_EXPORT inline uint qstrlen( const char *str ) `