Results 1 to 1 of 1

Thread: build errors in qcontiguouscache.h on Linux

  1. #1
    Join Date
    May 2010
    Posts
    3
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Question build errors in qcontiguouscache.h on Linux

    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,
    Last edited by Patrick_Bao; 10th May 2010 at 08:52.

Similar Threads

  1. Unexpected build errors in a Qt project
    By prykHetQuo in forum Qt Programming
    Replies: 2
    Last Post: 24th January 2010, 22:33
  2. Replies: 4
    Last Post: 17th November 2009, 21:48
  3. Build errors in Qt
    By prady in forum Qt Tools
    Replies: 2
    Last Post: 4th June 2009, 08:51
  4. qwt designer build errors
    By jhearon in forum Qwt
    Replies: 4
    Last Post: 17th July 2007, 07:47
  5. Build errors on YDL 4.0.1
    By milonguero in forum Installation and Deployment
    Replies: 0
    Last Post: 19th April 2007, 21:54

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.