Check what the _POSIX_C_SOURCE is defined to.
>From qfiledialog.cpp
#if defined(Q_OS_SOLARIS) && (_POSIX_C_SOURCE - 0 < 199506L)
tmpPw = getpwnam_r(userName.toLocal8Bit().constData(), &pw,
buf, bufSize);
#else
err = getpwnam_r(userName.toLocal8Bit().constData(), &pw, buf,
bufSize, &
Hello,
Just an update. I fixed the originally reported problem by changing:
#define QT_SOCKLEN_T int
to
#define QT_SOCKLEN_T unsigned
in mkspecs/solaris-cc/qplatformdefs.h
However, now I've run head long in to a new compile error:
/opt/solarisstudio12.3/bin/CC -c -D_REENTRAN
On sexta-feira, 14 de setembro de 2012 21.59.45, Geoffrey Gowey wrote:
> line 126: Error: Formal argument 3 of type unsigned* in call to accept(int,
> sockaddr*, unsigned*) is being passed int*.
Ugh... socklen_t again...
Please see mkspecs/solaris-cc/qplatformdefs.h and check why QT_SOCKLEN_T was
Hello all,
I'm trying to compile Qt (pulled down via git) on Solaris 11 using Oracle
Solaris Studio 12.3 and am receiving the following error:
/opt/solarisstudio12.3/bin/CC -c -O2 -mt -KPIC -DQT_SHARED
-DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII
-DQT_ASCII_CAST_WARNINGS -