Macmini5,1 Intel Core i5
Mac OSX 10.7.2
GNAT GPL 2011 (20110419)
gcc version 4.5.3 20110419 for GNAT GPL 2011 (20110419) (GCC)
Target: x86_64-apple-darwin10.2.0
qt-everywhere-opensource-src-4.7.4
./configure -target=x86_64-apple-darwin10.2.0

I have jeu bought a new 64 bit mac and have installed the latest GNAT build 
from Libre.
Then I managed to build QT4.7.4
Compile of qsizewrapper.cpp fails and I can't figure out why.
Help will be much appreciated.
Thanks
Roger

g++ -c -fPIC -O2 -DQT_SHARED -I/usr/local/Trolltech/Qt-4.7.4/include 
-I/usr/local/Trolltech/Qt-4.7.4/include/QtCore qsizewrapper.cpp
In file included from 
/usr/local/Trolltech/Qt-4.7.4/include/QtCore/qnamespace.h:45:0,
                 from /usr/local/Trolltech/Qt-4.7.4/include/QtCore/qsize.h:45,
                 from /usr/local/Trolltech/Qt-4.7.4/include/QtCore/QSize:1,
                 from 
/Ada_Source/qtada-gpl-3.1.1-20110124-3820/source/core/qsizewrapper.cpp:31:
/usr/local/Trolltech/Qt-4.7.4/include/QtCore/qglobal.h:320:6: warning: #warning 
"This version of Mac OS X is unsupported"
/Ada_Source/qtada-gpl-3.1.1-20110124-3820/source/core/qsizewrapper.cpp: In 
function 'QSize* __QtAda_inititialize_QSize(void*)':
/Ada_Source/qtada-gpl-3.1.1-20110124-3820/source/core/qsizewrapper.cpp:40:36: 
error: no matching function for call to 'operator new(long unsigned int, 
void*&)'
<built-in>:0:0: note: candidate is: void* operator new(long unsigned int)
/Ada_Source/qtada-gpl-3.1.1-20110124-3820/source/core/qsizewrapper.cpp: In 
function 'QSize* __QtAda_inititialize_QSize_int_int(void*, int, int)':
/Ada_Source/qtada-gpl-3.1.1-20110124-3820/source/core/qsizewrapper.cpp:45:40: 
error: no matching function for call to 'operator new(long unsigned int, 
void*&)'
<built-in>:0:0: note: candidate is: void* operator new(long unsigned int)
/Ada_Source/qtada-gpl-3.1.1-20110124-3820/source/core/qsizewrapper.cpp: In 
function 'QSize* __QtAda_adjust_QSize(void*, const QSize*)':
/Ada_Source/qtada-gpl-3.1.1-20110124-3820/source/core/qsizewrapper.cpp:50:41: 
error: no matching function for call to 'operator new(long unsigned int, 
void*&)'
<built-in>:0:0: note: candidate is: void* operator new(long unsigned int)
g++ -c -fPIC -O2 -DQT_SHARED -I/usr/local/Trolltech/Qt-4.7.4/include 
-I/usr/local/Trolltech/Qt-4.7.4/include/QtCore qsizefwrapper.cpp
In file included from 
/usr/local/Trolltech/Qt-4.7.4/include/QtCore/qnamespace.h:45:0,
                 from /usr/local/Trolltech/Qt-4.7.4/include/QtCore/qsize.h:45,
                 from /usr/local/Trolltech/Qt-4.7.4/include/QtCore/QSize:1,
                 from 
/Ada_Source/qtada-gpl-3.1.1-20110124-3820/source/core/qsizefwrapper.cpp:31:
/usr/local/Trolltech/Qt-4.7.4/include/QtCore/qglobal.h:320:6: warning: #warning 
"This version of Mac OS X is unsupported"
/Ada_Source/qtada-gpl-3.1.1-20110124-3820/source/core/qsizefwrapper.cpp: In 
function 'QSizeF* __QtAda_inititialize_QSizeF(void*)':
/Ada_Source/qtada-gpl-3.1.1-20110124-3820/source/core/qsizefwrapper.cpp:41:37: 
error: no matching function for call to 'operator new(long unsigned int, 
void*&)'
<built-in>:0:0: note: candidate is: void* operator new(long unsigned int)
/Ada_Source/qtada-gpl-3.1.1-20110124-3820/source/core/qsizefwrapper.cpp: In 
function 'QSizeF* __QtAda_inititialize_QSizeF_QSizeCR(void*, const QSize*)':
/Ada_Source/qtada-gpl-3.1.1-20110124-3820/source/core/qsizefwrapper.cpp:46:40: 
error: no matching function for call to 'operator new(long unsigned int, 
void*&)'
<built-in>:0:0: note: candidate is: void* operator new(long unsigned int)
/Ada_Source/qtada-gpl-3.1.1-20110124-3820/source/core/qsizefwrapper.cpp: In 
function 'QSizeF* __QtAda_inititialize_QSizeF_qreal_qreal(void*, double, 
double)':
/Ada_Source/qtada-gpl-3.1.1-20110124-3820/source/core/qsizefwrapper.cpp:51:55: 
error: no matching function for call to 'operator new(long unsigned int, 
void*&)'
<built-in>:0:0: note: candidate is: void* operator new(long unsigned int)
/Ada_Source/qtada-gpl-3.1.1-20110124-3820/source/core/qsizefwrapper.cpp: In 
function 'QSizeF* __QtAda_adjust_QSizeF(void*, const QSizeF*)':
/Ada_Source/qtada-gpl-3.1.1-20110124-3820/source/core/qsizefwrapper.cpp:56:42: 
error: no matching function for call to 'operator new(long unsigned int, 
void*&)'
<built-in>:0:0: note: candidate is: void* operator new(long unsigned int)

   compilation of qsizewrapper.cpp failed
   compilation of qsizefwrapper.cpp failed

gprbuild: *** compilation phase failed


_______________________________________________
qtada-users mailing list
[email protected]
http://box347.bluehost.com/mailman/listinfo/qtada-users_lists.qtada.com

Reply via email to