Hi
I'm switching from Qt 4.5.3 to Qt 4.7 beta for my project. The Qt 4.7 built OK. When I link it to my project, I get some build errors in qcontiguouscache.h. I don't use qcontiguouscache in my project.
/linuxamd64/Components/ExternalLibraries/Qt/4.7.0/include/QtCore/qcontiguouscache.h: In member function ‘void QContiguousCache<T>::detach_helper()’:
/linuxamd64/Components/ExternalLibraries/Qt/4.7.0/include/QtCore/qcontiguouscache.h:196: error: expected type-specifier before ‘dest’
/linuxamd64/Components/ExternalLibraries/Qt/4.7.0/include/QtCore/qcontiguouscache.h:196: error: expected `)' before ‘dest’
//linuxamd64/Components/ExternalLibraries/Qt/4.7.0/include/QtCore/qcontiguouscache.h:196: error: expected `;' before ‘dest’
/linuxamd64/Components/ExternalLibraries/Qt/4.7.0/include/QtCore/qcontiguouscache.h: In member function ‘void QContiguousCache<T>::setCapacity(int)’:
/linuxamd64/Components/ExternalLibraries/Qt/4.7.0/include/QtCore/qcontiguouscache.h:236: error: expected type-specifier before ‘dest’
/linuxamd64/Components/ExternalLibraries/Qt/4.7.0/include/QtCore/qcontiguouscache.h:236: error: expected `)' before ‘dest’
/linuxamd64/Components/ExternalLibraries/Qt/4.7.0/include/QtCore/qcontiguouscache.h:236: error: expected `;' before ‘dest’
/linuxamd64/Components/ExternalLibraries/Qt/4.7.0/include/QtCore/qcontiguouscache.h: In member function ‘void QContiguousCache<T>::append(const T&)’:
/linuxamd64/Components/ExternalLibraries/Qt/4.7.0/include/QtCore/qcontiguouscache.h:348: error: expected type-specifier before ‘p’
/linuxamd64/Components/ExternalLibraries/Qt/4.7.0/include/QtCore/qcontiguouscache.h:348: error: expected `)' before ‘p’
/linuxamd64/Components/ExternalLibraries/Qt/4.7.0/include/QtCore/qcontiguouscache.h:348: error: expected `;' before ‘p’
/linuxamd64/Components/ExternalLibraries/Qt/4.7.0/include/QtCore/qcontiguouscache.h: In member function ‘void QContiguousCache<T>:repend(const T&)’:
/linuxamd64/Components/ExternalLibraries/Qt/4.7.0/include/QtCore/qcontiguouscache.h:379: error: expected type-specifier before ‘p’
/linuxamd64/Components/ExternalLibraries/Qt/4.7.0/include/QtCore/qcontiguouscache.h:379: error: expected `)' before ‘p’
/linuxamd64/Components/ExternalLibraries/Qt/4.7.0/include/QtCore/qcontiguouscache.h:379: error: expected `;' before ‘p’
/linuxamd64/Components/ExternalLibraries/Qt/4.7.0/include/QtCore/qcontiguouscache.h: In member function ‘void QContiguousCache<T>::insert(int, const T&)’:
/linuxamd64/Components/ExternalLibraries/Qt/4.7.0/include/QtCore/qcontiguouscache.h:391: error: expected type-specifier before ‘p’
/linuxamd64/Components/ExternalLibraries/Qt/4.7.0/include/QtCore/qcontiguouscache.h:391: error: expected `)' before ‘p’
/linuxamd64/Components/ExternalLibraries/Qt/4.7.0/include/QtCore/qcontiguouscache.h:391: error: expected `;' before ‘p’
/linuxamd64/Components/ExternalLibraries/Qt/4.7.0/include/QtCore/qcontiguouscache.h:405: error: expected type-specifier before ‘p’
/linuxamd64/Components/ExternalLibraries/Qt/4.7.0/include/QtCore/qcontiguouscache.h:405: error: expected `)' before ‘p’
/linuxamd64/Components/ExternalLibraries/Qt/4.7.0/include/QtCore/qcontiguouscache.h:405: error: expected `;' before ‘p’
I'm using gcc 4.1.2 on RHEL 5.3. I got this problem only on Linux, the windows build is Okay.
Any ideas?
Thanks,
Bookmarks