Web lists-archives.org

[Mingw-users] Mingw 4.3.0-20080502 & Qt 4.4.0




Hi,

 EXCELLENT work !!! I want to congratulate you for this.

 I try to compile qt (4.4.0) with mingw 4.3, everything compile fine
except webkit (he says something about my mama).
Here is the error:

mingw32-make[2]: Entering directory
`C:/qt/mingw/4.4.0/src/3rdparty/webkit/WebCore'
g++ -c -include tmp\obj\debug_shared\WebKit_pch.h -Wreturn-type
-fno-strict-aliasing -g -frtti -fexceptions -mthreads -DQT_SHARED
-DQT_THREAD_SUPPORT -DUNICODE -DQT_LARGEFILE_SUPPO
RT -DBUILDING_QT__=1 -DUSE_SYSTEM_MALLOC -DNDEBUG -DQT_MAKEDLL
-DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT
-D_USE_MATH_DEFINES -DBUILD_WEBKIT -DENABLE_ICONDATABA
SE=0 -DENABLE_XPATH=1 -DENABLE_SVG=1 -DWTF_CHANGES=1 -DBUILDING_QT__
-DWTF_USE_JAVASCRIPTCORE_BINDINGS=1 -DQT_DLL -DQT_GUI_LIB -DQT_NETWORK_LIB
-DQT_CORE_LIB -I"c:\Qt\mingw\4.4.0\i
nclude\QtCore" -I"c:\Qt\mingw\4.4.0\include\QtCore"
-I"c:\Qt\mingw\4.4.0\include\QtNetwork"
-I"c:\Qt\mingw\4.4.0\include\QtNetwork"
-I"c:\Qt\mingw\4.4.0\include\QtGui" -I"c:\Qt\min
gw\4.4.0\include\QtGui" -I"c:\Qt\mingw\4.4.0\include" -I"..\WebKit\qt\Api"
-I"..\JavaScriptCore" -I"..\JavaScriptCore\kjs"
-I"..\JavaScriptCore\bindings" -I"..\JavaScriptCore\bindi
ngs\c" -I"..\JavaScriptCore\wtf" -I"..\JavaScriptCore\ForwardingHeaders"
-I"." -I"ForwardingHeaders" -I"platform" -I"platform\network"
-I"platform\graphics" -I"loader" -I"page" -I"
css" -I"dom" -I"bridge" -I"editing" -I"rendering" -I"history" -I"xml"
-I"html" -I"plugins" -I"c:\Qt\mingw\4.4.0\include\QtWebKit"
-I"tmp\rcc\debug_shared" -I"tmp" -I"generated" -I"
tmp" -I"..\JavaScriptCore" -I"..\JavaScriptCore\kjs"
-I"..\JavaScriptCore\bindings" -I"..\JavaScriptCore\bindings\c"
-I"..\JavaScriptCore\wtf" -I"..\JavaScriptCore\bindings\qt" -I"
..\JavaScriptCore\pcre"
-I"c:\qt\mingw\4.4.0\src\3rdparty\webkit\WebKitBuild\Debug\JavaScriptCore\kjs\tmp"
-I"platform\qt" -I"platform\network\qt" -I"platform\graphics\qt" -I"platf
orm\graphics\svg\qt" -I"loader\qt" -I"page\qt"
-I"..\WebKit\qt\WebCoreSupport" -I"..\WebKit\qt\Api" -I"."
-I"ForwardingHeaders" -I"..\..\webkit" -I"..\JavaScriptCore\kjs" -I"..\Jav
aScriptCore\bindings" -I"platform" -I"platform\network"
-I"platform\graphics" -I"platform\graphics\svg"
-I"platform\graphics\svg\filters" -I"loader" -I"loader\icon" -I"css"
-I"dom"
 -I"page" -I"bridge" -I"editing" -I"rendering" -I"history" -I"xml"
-I"html" -I"bindings\js" -I"ksvg2" -I"ksvg2\css" -I"ksvg2\svg"
-I"ksvg2\misc" -I"ksvg2\events" -I"platform\image-
decoders" -I"c:\Qt\mingw\4.4.0\include\ActiveQt" -I"tmp\moc\debug_shared"
-I"." -I"c:\Qt\mingw\4.4.0\mkspecs\win32-g++" -o
tmp\obj\debug_shared\Timer.o platform\Timer.cpp
c:\mingw\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/boost_concept_check.h:
In member function 'void
__gnu_cxx::_ComparableConcept<_Tp>::__constraints() [with _Tp =
WebCore::Time
rHeapIterator]':
c:\mingw\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/boost_concept_check.h:62:
  instantiated from 'void __gnu_cxx::__function_requires() [with _Concept
= __gnu_cxx::_ComparableC
oncept<WebCore::TimerHeapIterator>]'
c:\mingw\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/boost_concept_check.h:529:
  instantiated from 'void
__gnu_cxx::_RandomAccessIteratorConcept<_Tp>::__constraints() [with _Tp
= WebCore::TimerHeapIterator]'
c:\mingw\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/boost_concept_check.h:62:
  instantiated from 'void __gnu_cxx::__function_requires() [with _Concept
= __gnu_cxx::_RandomAcces
sIteratorConcept<WebCore::TimerHeapIterator>]'
c:\mingw\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/boost_concept_check.h:553:
  instantiated from 'void
__gnu_cxx::_Mutable_RandomAccessIteratorConcept<_Tp>::__constraints() [w
ith _Tp = WebCore::TimerHeapIterator]'
c:\mingw\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/boost_concept_check.h:62:
  instantiated from 'void __gnu_cxx::__function_requires() [with _Concept
= __gnu_cxx::_Mutable_Ran
domAccessIteratorConcept<WebCore::TimerHeapIterator>]'
c:\mingw\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/stl_heap.h:162:  
instantiated from 'void std::push_heap(_RAIter, _RAIter) [with _RAIter =
WebCore::TimerHeapIterator]'
platform\Timer.cpp:221:   instantiated from here
c:\mingw\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/boost_concept_check.h:267:
error: no match for 'operator>' in
'((__gnu_cxx::_ComparableConcept<WebCore::TimerHeapIterator>*)t
his)->__gnu_cxx::_ComparableConcept<WebCore::TimerHeapIterator>::__a >
((__gnu_cxx::_ComparableConcept<WebCore::TimerHeapIterator>*)this)->__gnu_cxx::_ComparableConcept<WebCore::Ti
merHeapIterator>::__b'
c:\mingw\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/boost_concept_check.h:268:
error: no match for 'operator<=' in
'((__gnu_cxx::_ComparableConcept<WebCore::TimerHeapIterator>*)
this)->__gnu_cxx::_ComparableConcept<WebCore::TimerHeapIterator>::__a <=
((__gnu_cxx::_ComparableConcept<WebCore::TimerHeapIterator>*)this)->__gnu_cxx::_ComparableConcept<WebCore::
TimerHeapIterator>::__b'
c:\mingw\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/boost_concept_check.h:269:
error: no match for 'operator>=' in
'((__gnu_cxx::_ComparableConcept<WebCore::TimerHeapIterator>*)
this)->__gnu_cxx::_ComparableConcept<WebCore::TimerHeapIterator>::__a >=
((__gnu_cxx::_ComparableConcept<WebCore::TimerHeapIterator>*)this)->__gnu_cxx::_ComparableConcept<WebCore::
TimerHeapIterator>::__b'
c:\mingw\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/boost_concept_check.h:
In member function 'void
__gnu_cxx::_ForwardIteratorConcept<_Tp>::__constraints() [with _Tp =
WebCore:
:TimerHeapIterator]':
c:\mingw\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/boost_concept_check.h:62:
  instantiated from 'void __gnu_cxx::__function_requires() [with _Concept
= __gnu_cxx::_ForwardIter
atorConcept<WebCore::TimerHeapIterator>]'
c:\mingw\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/boost_concept_check.h:502:
  instantiated from 'void
__gnu_cxx::_BidirectionalIteratorConcept<_Tp>::__constraints() [with _Tp
 = WebCore::TimerHeapIterator]'
c:\mingw\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/boost_concept_check.h:62:
  instantiated from 'void __gnu_cxx::__function_requires() [with _Concept
= __gnu_cxx::_Bidirection
alIteratorConcept<WebCore::TimerHeapIterator>]'
c:\mingw\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/boost_concept_check.h:528:
  instantiated from 'void
__gnu_cxx::_RandomAccessIteratorConcept<_Tp>::__constraints() [with _Tp
= WebCore::TimerHeapIterator]'
c:\mingw\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/boost_concept_check.h:62:
  instantiated from 'void __gnu_cxx::__function_requires() [with _Concept
= __gnu_cxx::_RandomAcces
sIteratorConcept<WebCore::TimerHeapIterator>]'
c:\mingw\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/boost_concept_check.h:553:
  instantiated from 'void
__gnu_cxx::_Mutable_RandomAccessIteratorConcept<_Tp>::__constraints() [w
ith _Tp = WebCore::TimerHeapIterator]'
c:\mingw\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/boost_concept_check.h:62:
  instantiated from 'void __gnu_cxx::__function_requires() [with _Concept
= __gnu_cxx::_Mutable_Ran
domAccessIteratorConcept<WebCore::TimerHeapIterator>]'
c:\mingw\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/stl_heap.h:162:  
instantiated from 'void std::push_heap(_RAIter, _RAIter) [with _RAIter =
WebCore::TimerHeapIterator]'
platform\Timer.cpp:221:   instantiated from here
c:\mingw\bin\../lib/gcc/mingw32/4.3.0/include/c++/bits/boost_concept_check.h:483:
error: invalid initialization of non-const reference of type
'WebCore::TimerHeapElement&' from a t
emporary of type 'WebCore::TimerHeapElement'
mingw32-make[2]: *** [tmp/obj/debug_shared/Timer.o] Error 1
mingw32-make[2]: Leaving directory
`C:/qt/mingw/4.4.0/src/3rdparty/webkit/WebCore'
mingw32-make[1]: *** [debug-all] Error 2
mingw32-make[1]: Leaving directory
`C:/qt/mingw/4.4.0/src/3rdparty/webkit/WebCore'
mingw32-make: *** [sub-webkit-make_default-ordered] Error 2



If I comment line 221 and 272 and everything compile AND WORKS fine !!!!

I put on my site my mingw dir
(http://omnidatagrup.ro/~taipan/mingw/MinGW.7z) and the qt dir
(http://omnidatagrup.ro/~taipan/mingw/qt.7z) if you want to reproduce this
error.

un7zip this files to c:
run: cmd /k C:\qt\mingw\4.4.0\bin\qtvars.bat
cd C:\qt\mingw\4.4.0\
exec: configure.exe -qt-sql-sqlite -qt-sql-odbc -qt-libpng -qt-libjpeg
-qt-gif -qt-sql-psql  -no-qt3support  -qt-libmng -qt-libtiff
-openssl-linked -fast -release

exec: mingw32-make

wait ....


Os version Vista SP1 (Microsoft Windows [Version 6.0.6001])

gcc -v
Using built-in specs.
Target: mingw32
Configured with: ../gcc-4.3.0/configure
--enable-languages=c,ada,c++,fortran,jav
a,objc,obj-c++ --disable-sjlj-exceptions --enable-shared --enable-libgcj
--enabl
e-libgomp --with-dwarf2 --disable-win32-registry --enable-libstdcxx-debug
--enab
le-concept-checks --enable-version-specific-runtime-libs --build=mingw32
--with-
bugurl=http://www.mingw.org/bugs.shtml --prefix=/mingw
--with-gmp=/mingw/src/gcc
/gmp-mpfr-root --with-mpfr=/mingw/src/gcc/gmp-mpfr-root
--with-libiconv-prefix=/
mingw/src/gcc/libiconv-root
Thread model: win32
gcc version 4.3.0 20080305 (alpha-testing) mingw-20080502 (GCC)

ld -v
GNU ld (GNU Binutils) 2.18.50.20080109


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users