Re: [Development] Problem compiling using Oracle Solaris Studio 12.3

2012-09-19 Thread Konstantin Ritt
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, &

Re: [Development] Problem compiling using Oracle Solaris Studio 12.3

2012-09-16 Thread Geoffrey Gowey
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

Re: [Development] Problem compiling using Oracle Solaris Studio 12.3

2012-09-14 Thread Thiago Macieira
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

[Development] Problem compiling using Oracle Solaris Studio 12.3

2012-09-14 Thread Geoffrey Gowey
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 -