Uploaded image for project: 'Qt Solutions'
  1. Qt Solutions
  2. QTSOLBUG-72

QtSingleApplication 2.6 does not build on windows with the QT_NO_DEBUG_OUTPUT flag

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: No Version
    • Fix Version/s: Not Scheduled
    • Component/s: Single Application
    • Labels:
      None

      Description

      We have found that we cannot build QtSingleApplication 2.6 under Qt-4.5.2 on Windows with Visual Studio 2008. The problem is that we have the QT_NO_DEBUG_OUTPUT flag in our .pro files and that causes a problem in qlockedfile.h and its use of QVector.

      I have reproduced the problem in the examples provided with QtSingleApplication 2.6 by adding DEFINES += QT_NO_DEBUG_OUTPUT to the qtsingleapplication.pri file.

      The errors generated are:

      cl c -nologo -Zm200 -Zc:wchar_t -O2 -MD -GR -EHsc -W3 -w34100 -w34189 -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_NO_D
      EBUG_OUTPUT -DQT_DLL -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"..\..\..\..\Qt\4.5.2\include
      \QtCore" -I"..\..\..\..\Qt\4.5.2\include\QtNetwork" -I"..\..\..\..\Qt\4.5.2\include\QtGui" -I"..\..\..\..\Qt\4.5.2\include" -I"..\
      ..\src" -I"..\..\..\..\Qt\4.5.2\include\ActiveQt" -I"release" -I"..\..\..\..\Qt\4.5.2\mkspecs\default" -Forelease\ @C:\DOCUME~1\pe
      llis\LOCALS~1\Temp\nm3A.tmp
      qtsingleapplication.cpp
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(24) : error C2143: syntax error : missing ',' before '<'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(273) : see reference to class template instantiation 'QtLP_
      Private::std::_Vector_const_iterator<_Ty,_Alloc>' being compiled
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(24) : error C2518: keyword 'typename' illegal in base class list; i
      gnored
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(25) : error C2518: keyword 'typename' illegal in base class list; i
      gnored
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(25) : error C2518: keyword 'typename' illegal in base class list; i
      gnored
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(32) : error C2146: syntax error : missing ';' before identifier 'it
      erator_category'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(32) : error C4430: missing type specifier - int assumed. Note: C++
      does not support default-int
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(32) : error C4430: missing type specifier - int assumed. Note: C++
      does not support default-int
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(39) : error C2146: syntax error : missing ';' before identifier '_C
      hecked_iterator_category'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(39) : error C4430: missing type specifier - int assumed. Note: C++
      does not support default-int
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(39) : error C4430: missing type specifier - int assumed. Note: C++
      does not support default-int
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(76) : error C4430: missing type specifier - int assumed. Note: C++
      does not support default-int
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(76) : error C2143: syntax error : missing ',' before '*'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(325) : error C4430: missing type specifier - int assumed. Note: C++
      does not support default-int
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(405) : see reference to class template instantiation 'QtLP_
      Private::std::_Vector_iterator<_Ty,_Alloc>' being compiled
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(325) : error C2143: syntax error : missing ',' before '*'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(420) : error C2143: syntax error : missing ',' before '<'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(432) : see reference to class template instantiation 'QtLP_
      Private::std::_Vector_val<_Ty,_Alloc>' being compiled
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(465) : error C2143: syntax error : missing ';' before '<'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1292) : see reference to class template instantiation 'QtLP
      _Private::std::vector<_Ty,_Alloc>' being compiled
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(465) : error C4430: missing type specifier - int assumed. Note: C++
      does not support default-int
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(465) : error C2238: unexpected token(s) preceding ';'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(466) : error C2059: syntax error : '<'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(466) : error C2238: unexpected token(s) preceding ';'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(525) : error C2061: syntax error : identifier '_Int_iterator_tag'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(533) : error C2061: syntax error : identifier 'input_iterator_tag'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(532) : error C2535: 'void QtLP_Private::std::vector<_Ty,_Alloc>::_C
      onstruct(_Iter,_Iter)' : member function already defined or declared
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(525) : see declaration of 'QtLP_Private::std::vector<_Ty,_A
      lloc>::_Construct'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(696) : error C2146: syntax error : missing ';' before identifier 'r
      begin'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(696) : error C4430: missing type specifier - int assumed. Note: C++
      does not support default-int
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(697) : error C4430: missing type specifier - int assumed. Note: C++
      does not support default-int
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(699) : warning C4183: 'rbegin': missing return type; assumed to be
      a member function returning 'int'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(706) : error C2146: syntax error : missing ';' before identifier 'r
      end'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(706) : error C4430: missing type specifier - int assumed. Note: C++
      does not support default-int
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(707) : error C4430: missing type specifier - int assumed. Note: C++
      does not support default-int
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(709) : warning C4183: 'rend': missing return type; assumed to be a
      member function returning 'int'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(857) : error C2061: syntax error : identifier '_Int_iterator_tag'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(863) : error C2061: syntax error : identifier 'input_iterator_tag'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(863) : error C2535: 'void QtLP_Private::std::vector<_Ty,_Alloc>::_A
      ssign(_Iter,_Iter)' : member function already defined or declared
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(857) : see declaration of 'QtLP_Private::std::vector<_Ty,_A
      lloc>::_Assign'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(894) : error C2061: syntax error : identifier '_Int_iterator_tag'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(901) : error C2061: syntax error : identifier 'input_iterator_tag'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(900) : error C2535: 'void QtLP_Private::std::vector<_Ty,_Alloc>::_I
      nsert(QtLP_Private::std::_Vector_const_iterator<_Ty,_Alloc::rebind<_Ty>::other>,_Iter,_Iter)' : member function already defined or
      declared
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(893) : see declaration of 'QtLP_Private::std::vector<_Ty,_A
      lloc>::_Insert'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(926) : error C2061: syntax error : identifier 'forward_iterator_tag
      '
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(925) : error C2535: 'void QtLP_Private::std::vector<_Ty,_Alloc>::_I
      nsert(QtLP_Private::std::_Vector_const_iterator<_Ty,_Alloc::rebind<_Ty>::other>,_Iter,_Iter)' : member function already defined or
      declared
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(893) : see declaration of 'QtLP_Private::std::vector<_Ty,_A
      lloc>::_Insert'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1296) : error C2143: syntax error : missing ';' before '<'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1296) : error C2059: syntax error : '<'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1296) : error C2065: '_Ty' : undeclared identifier
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1296) : error C2065: '_Ax' : undeclared identifier
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1297) : error C2143: syntax error : missing ';' before '{'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1297) : error C2447: '{' : missing function header (old-style forma
      l list?)
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1371) : error C2143: syntax error : missing ',' before '<'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1439) : see reference to class template instantiation 'QtLP
      _Private::std::_Vb_iter_base<_Sizet,_Difft,_MycontTy>' being compiled
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1375) : error C2146: syntax error : missing ';' before identifier '
      _Checked_iterator_category'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1375) : error C4430: missing type specifier - int assumed. Note: C+
      + does not support default-int
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1375) : error C4430: missing type specifier - int assumed. Note: C+
      + does not support default-int
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1393) : error C4430: missing type specifier - int assumed. Note: C+
      + does not support default-int
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1393) : error C2143: syntax error : missing ',' before '*'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1547) : error C2146: syntax error : missing ';' before identifier '
      iterator_category'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1741) : see reference to class template instantiation 'QtLP
      _Private::std::_Vb_const_iterator<_Sizet,_Difft,_MycontTy>' being compiled
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1547) : error C4430: missing type specifier - int assumed. Note: C+
      + does not support default-int
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1547) : error C4430: missing type specifier - int assumed. Note: C+
      + does not support default-int
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1548) : error C2146: syntax error : missing ';' before identifier '
      value_type'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1548) : error C4430: missing type specifier - int assumed. Note: C+
      + does not support default-int
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1548) : error C4430: missing type specifier - int assumed. Note: C+
      + does not support default-int
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1559) : error C4430: missing type specifier - int assumed. Note: C+
      + does not support default-int
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1559) : error C2143: syntax error : missing ',' before '*'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1778) : error C2061: syntax error : identifier '_Container_base'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1852) : see reference to class template instantiation 'QtLP
      _Private::std::_Vb_iterator<_Sizet,_Difft,_MycontTy>' being compiled
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1865) : error C2065: '_Bool' : undeclared identifier
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(2385) : error C2976: 'QtLP_Private::std::vector' : too few template
      arguments
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(438) : see declaration of 'QtLP_Private::std::vector'
      c:\qt\4.5.2\include\qtcore\../../src/corelib/tools/qvector.h(732) : error C2244: 'QList<T>::toVector' : unable to match function d
      efinition to an existing declaration
      c:\qt\4.5.2\include\qtcore\../../src/corelib/tools/qlist.h(308) : see declaration of 'QList<T>::toVector'
      definition
      'QtLP_Private::QVector<T> QList<T>::toVector(void) const'
      existing declarations
      'QVector<T> QList<T>::toVector(void) const'
      c:\qt\4.5.2\include\qtcore\../../src/corelib/tools/qvector.h(744) : error C2244: 'QList<T>::fromVector' : unable to match function
      definition to an existing declaration
      c:\qt\4.5.2\include\qtcore\../../src/corelib/tools/qlist.h(311) : see declaration of 'QList<T>::fromVector'
      definition
      'QList<T> QList<T>::fromVector(const QtLP_Private::QVector<T> &)'
      existing declarations
      'QList<T> QList<T>::fromVector(const QVector<T> &)'
      c:\qt\4.5.2\include\qtgui\../../src/gui/painting/qpolygon.h(61) : error C2504: 'QVector<T>' : base class undefined
      with
      [
      T=QPoint
      ]
      c:\qt\4.5.2\include\qtgui\../../src/gui/painting/qpolygon.h(66) : error C2614: 'QPolygon' : illegal member initialization: 'QVecto
      r<QPoint>' is not a base or member
      c:\qt\4.5.2\include\qtgui\../../src/gui/painting/qpolygon.h(67) : error C2614: 'QPolygon' : illegal member initialization: 'QVecto
      r<QPoint>' is not a base or member
      c:\qt\4.5.2\include\qtgui\../../src/gui/painting/qpolygon.h(93) : error C2614: 'QPolygon' : illegal member initialization: 'QVecto
      r<QPoint>' is not a base or member
      c:\qt\4.5.2\include\qtgui\../../src/gui/painting/qpolygon.h(112) : error C2676: binary '[' : 'QPolygon' does not define this opera
      tor or a conversion to a type acceptable to the predefined operator
      c:\qt\4.5.2\include\qtgui\../../src/gui/painting/qpolygon.h(115) : error C2676: binary '[' : 'QPolygon' does not define this opera
      tor or a conversion to a type acceptable to the predefined operator
      c:\qt\4.5.2\include\qtgui\../../src/gui/painting/qpolygon.h(118) : error C3861: 'at': identifier not found
      c:\qt\4.5.2\include\qtgui\../../src/gui/painting/qpolygon.h(126) : error C2504: 'QVector<T>' : base class undefined
      with
      [
      T=QPointF
      ]
      c:\qt\4.5.2\include\qtgui\../../src/gui/painting/qpolygon.h(131) : error C2614: 'QPolygonF' : illegal member initialization: 'QVec
      tor<QPointF>' is not a base or member
      c:\qt\4.5.2\include\qtgui\../../src/gui/painting/qpolygon.h(132) : error C2614: 'QPolygonF' : illegal member initialization: 'QVec
      tor<QPointF>' is not a base or member
      c:\qt\4.5.2\include\qtgui\../../src/gui/painting/qpolygon.h(141) : error C3861: 'isEmpty': identifier not found
      c:\qt\4.5.2\include\qtgui\../../src/gui/painting/qpolygon.h(141) : error C3861: 'first': identifier not found
      c:\qt\4.5.2\include\qtgui\../../src/gui/painting/qpolygon.h(141) : error C3861: 'last': identifier not found
      c:\qt\4.5.2\include\qtgui\../../src/gui/painting/qpolygon.h(152) : error C2614: 'QPolygonF' : illegal member initialization: 'QVec
      tor<QPointF>' is not a base or member
      c:\qt\4.5.2\include\qtgui\../../src/gui/painting/qpainterpath.h(238) : error C2079: 'QPainterPathPrivate::elements' uses undefined
      class 'QVector<T>'
      with
      [
      T=QPainterPath::Element
      ]
      c:\qt\4.5.2\include\qtgui\../../src/gui/painting/qpainterpath.h(370) : error C2228: left of '.size' must have class/struct/union
      type is 'int'
      c:\qt\4.5.2\include\qtgui\../../src/gui/painting/qpainterpath.h(370) : error C2228: left of '.first' must have class/struct/union
      type is 'int'
      c:\qt\4.5.2\include\qtgui\../../src/gui/painting/qpainterpath.h(370) : error C2228: left of '.type' must have class/struct/union
      c:\qt\4.5.2\include\qtgui\../../src/gui/painting/qpainterpath.h(375) : error C2228: left of '.size' must have class/struct/union
      type is 'int'
      c:\qt\4.5.2\include\qtgui\../../src/gui/painting/qpainterpath.h(382) : error C2228: left of '.at' must have class/struct/union
      type is 'int'
      c:\qt\4.5.2\include\qtgui\../../src/gui/painting/qpainterpath.h(390) : error C2109: subscript requires array or pointer type
      c:\qt\4.5.2\include\qtgui\../../src/gui/painting/qbrush.h(244) : error C2079: 'QGradient::m_stops' uses undefined class 'QVector<T
      >'
      with
      [
      T=QGradientStop
      ]
      qtlocalpeer.cpp
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(24) : error C2143: syntax error : missing ',' before '<'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(273) : see reference to class template instantiation 'QtLP_
      Private::std::_Vector_const_iterator<_Ty,_Alloc>' being compiled
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(24) : error C2518: keyword 'typename' illegal in base class list; i
      gnored
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(25) : error C2518: keyword 'typename' illegal in base class list; i
      gnored
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(25) : error C2518: keyword 'typename' illegal in base class list; i
      gnored
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(32) : error C2146: syntax error : missing ';' before identifier 'it
      erator_category'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(32) : error C4430: missing type specifier - int assumed. Note: C++
      does not support default-int
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(32) : error C4430: missing type specifier - int assumed. Note: C++
      does not support default-int
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(39) : error C2146: syntax error : missing ';' before identifier '_C
      hecked_iterator_category'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(39) : error C4430: missing type specifier - int assumed. Note: C++
      does not support default-int
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(39) : error C4430: missing type specifier - int assumed. Note: C++
      does not support default-int
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(76) : error C4430: missing type specifier - int assumed. Note: C++
      does not support default-int
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(76) : error C2143: syntax error : missing ',' before '*'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(325) : error C4430: missing type specifier - int assumed. Note: C++
      does not support default-int
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(405) : see reference to class template instantiation 'QtLP_
      Private::std::_Vector_iterator<_Ty,_Alloc>' being compiled
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(325) : error C2143: syntax error : missing ',' before '*'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(420) : error C2143: syntax error : missing ',' before '<'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(432) : see reference to class template instantiation 'QtLP_
      Private::std::_Vector_val<_Ty,_Alloc>' being compiled
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(465) : error C2143: syntax error : missing ';' before '<'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1292) : see reference to class template instantiation 'QtLP
      _Private::std::vector<_Ty,_Alloc>' being compiled
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(465) : error C4430: missing type specifier - int assumed. Note: C++
      does not support default-int
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(465) : error C2238: unexpected token(s) preceding ';'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(466) : error C2059: syntax error : '<'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(466) : error C2238: unexpected token(s) preceding ';'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(525) : error C2061: syntax error : identifier '_Int_iterator_tag'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(533) : error C2061: syntax error : identifier 'input_iterator_tag'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(532) : error C2535: 'void QtLP_Private::std::vector<_Ty,_Alloc>::_C
      onstruct(_Iter,_Iter)' : member function already defined or declared
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(525) : see declaration of 'QtLP_Private::std::vector<_Ty,_A
      lloc>::_Construct'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(696) : error C2146: syntax error : missing ';' before identifier 'r
      begin'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(696) : error C4430: missing type specifier - int assumed. Note: C++
      does not support default-int
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(697) : error C4430: missing type specifier - int assumed. Note: C++
      does not support default-int
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(699) : warning C4183: 'rbegin': missing return type; assumed to be
      a member function returning 'int'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(706) : error C2146: syntax error : missing ';' before identifier 'r
      end'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(706) : error C4430: missing type specifier - int assumed. Note: C++
      does not support default-int
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(707) : error C4430: missing type specifier - int assumed. Note: C++
      does not support default-int
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(709) : warning C4183: 'rend': missing return type; assumed to be a
      member function returning 'int'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(857) : error C2061: syntax error : identifier '_Int_iterator_tag'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(863) : error C2061: syntax error : identifier 'input_iterator_tag'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(863) : error C2535: 'void QtLP_Private::std::vector<_Ty,_Alloc>::_A
      ssign(_Iter,_Iter)' : member function already defined or declared
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(857) : see declaration of 'QtLP_Private::std::vector<_Ty,_A
      lloc>::_Assign'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(894) : error C2061: syntax error : identifier '_Int_iterator_tag'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(901) : error C2061: syntax error : identifier 'input_iterator_tag'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(900) : error C2535: 'void QtLP_Private::std::vector<_Ty,_Alloc>::_I
      nsert(QtLP_Private::std::_Vector_const_iterator<_Ty,_Alloc::rebind<_Ty>::other>,_Iter,_Iter)' : member function already defined or
      declared
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(893) : see declaration of 'QtLP_Private::std::vector<_Ty,_A
      lloc>::_Insert'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(926) : error C2061: syntax error : identifier 'forward_iterator_tag
      '
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(925) : error C2535: 'void QtLP_Private::std::vector<_Ty,_Alloc>::_I
      nsert(QtLP_Private::std::_Vector_const_iterator<_Ty,_Alloc::rebind<_Ty>::other>,_Iter,_Iter)' : member function already defined or
      declared
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(893) : see declaration of 'QtLP_Private::std::vector<_Ty,_A
      lloc>::_Insert'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1296) : error C2143: syntax error : missing ';' before '<'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1296) : error C2059: syntax error : '<'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1296) : error C2065: '_Ty' : undeclared identifier
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1296) : error C2065: '_Ax' : undeclared identifier
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1297) : error C2143: syntax error : missing ';' before '{'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1297) : error C2447: '{' : missing function header (old-style forma
      l list?)
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1371) : error C2143: syntax error : missing ',' before '<'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1439) : see reference to class template instantiation 'QtLP
      _Private::std::_Vb_iter_base<_Sizet,_Difft,_MycontTy>' being compiled
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1375) : error C2146: syntax error : missing ';' before identifier '
      _Checked_iterator_category'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1375) : error C4430: missing type specifier - int assumed. Note: C+
      + does not support default-int
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1375) : error C4430: missing type specifier - int assumed. Note: C+
      + does not support default-int
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1393) : error C4430: missing type specifier - int assumed. Note: C+
      + does not support default-int
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1393) : error C2143: syntax error : missing ',' before '*'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1547) : error C2146: syntax error : missing ';' before identifier '
      iterator_category'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1741) : see reference to class template instantiation 'QtLP
      _Private::std::_Vb_const_iterator<_Sizet,_Difft,_MycontTy>' being compiled
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1547) : error C4430: missing type specifier - int assumed. Note: C+
      + does not support default-int
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1547) : error C4430: missing type specifier - int assumed. Note: C+
      + does not support default-int
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1548) : error C2146: syntax error : missing ';' before identifier '
      value_type'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1548) : error C4430: missing type specifier - int assumed. Note: C+
      + does not support default-int
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1548) : error C4430: missing type specifier - int assumed. Note: C+
      + does not support default-int
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1559) : error C4430: missing type specifier - int assumed. Note: C+
      + does not support default-int
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1559) : error C2143: syntax error : missing ',' before '*'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1778) : error C2061: syntax error : identifier '_Container_base'
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1852) : see reference to class template instantiation 'QtLP
      _Private::std::_Vb_iterator<_Sizet,_Difft,_MycontTy>' being compiled
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(1865) : error C2065: '_Bool' : undeclared identifier
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(2385) : error C2976: 'QtLP_Private::std::vector' : too few template
      arguments
      C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\vector(438) : see declaration of 'QtLP_Private::std::vector'
      c:\qt\4.5.2\include\qtcore\../../src/corelib/tools/qvector.h(732) : error C2244: 'QList<T>::toVector' : unable to match function d
      efinition to an existing declaration
      c:\qt\4.5.2\include\qtcore\../../src/corelib/tools/qlist.h(308) : see declaration of 'QList<T>::toVector'
      definition
      'QtLP_Private::QVector<T> QList<T>::toVector(void) const'
      existing declarations
      'QVector<T> QList<T>::toVector(void) const'
      c:\qt\4.5.2\include\qtcore\../../src/corelib/tools/qvector.h(744) : error C2244: 'QList<T>::fromVector' : unable to match function
      definition to an existing declaration
      c:\qt\4.5.2\include\qtcore\../../src/corelib/tools/qlist.h(311) : see declaration of 'QList<T>::fromVector'
      definition
      'QList<T> QList<T>::fromVector(const QtLP_Private::QVector<T> &)'
      existing declarations
      'QList<T> QList<T>::fromVector(const QVector<T> &)'
      ..\..\src\qtlocalpeer.cpp(194) : error C2660: 'qWarning' : function does not take 0 arguments
      Generating Code...
      NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.EXE"' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe"' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.

      This happens on Windows XP and Vista

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            xcm Martin Petersson (Inactive)
            Votes:
            5 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes