Subject: Re: pkg/34809: x11/qt4-libs
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: pkgsrc-bugs
Date: 10/13/2006 15:00:08
The following reply was made to PR pkg/34809; it has been noted by GNATS.

From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/34809: x11/qt4-libs
Date: Fri, 13 Oct 2006 16:56:25 +0200

 On Fri, Oct 13, 2006 at 02:50:00PM +0000, Gilles Dauphin wrote:
 > gmake[3]: Entering directory `/pkg/obj/x11/qt4-libs/work/qt-x11-opensource-src-4.1.4/src/corelib'
 > libtool --silent --mode=compile g++ -c -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -DGLX_GLXEXT_LEGACY -DQ_TRAILING_DIR_SEP -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -fno-exceptions -D_REENTRANT  -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_CAST_TO_ASCII -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_NO_DEBUG -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/solaris-g++ -I. -I../../include -I../../include/QtCore -Iglobal -I.moc/release-shared -I. -I/usr/pkg/include -o .obj/release-shared/qglobal.lo global/qglobal.cpp
 > In file included from ../../include/QtCore/../../src/corelib/thread/qatomic.h:31,
 >                  from ../../include/QtCore/qatomic.h:1,
 >                  from ../../include/QtCore/../../src/corelib/tools/qbytearray.h:28,
 >                  from ../../include/QtCore/qbytearray.h:1,
 >                  from ../../include/QtCore/../../src/corelib/tools/qstring.h:28,
 >                  from ../../include/QtCore/qstring.h:1,
 >                  from global/qglobal.cpp:25:
 > ../../include/QtCore/arch/qatomic.h: In function `int q_atomic_test_and_set_ptr(volatile void*, void*, void*)':
 > ../../include/QtCore/arch/qatomic.h:58: error: reinterpret_cast from `void*' to `int' loses precision
 > ../../include/QtCore/arch/qatomic.h:59: error: reinterpret_cast from `void*' to `int' loses precision
 > ../../include/QtCore/arch/qatomic.h: In function `void* q_atomic_set_ptr(volatile void*, void*)':
 > ../../include/QtCore/arch/qatomic.h:98: error: reinterpret_cast from `void*' to `int' loses precision
 
 AMD64 issue. Change the offending int to long or even better to
 intptr_t. And fill a Qt PR, they are normally quite responsive.
 
 Joerg