Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-1372

debug helper doesn't compile when include/lib-paths of VC6 are set in environment

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • Qt Creator 1.3.1, Qt Creator 1.3.83 (2.0.0-beta)
    • None
    • Windows XP SP3 + Windows 7 Ultimate
      VC6 and VS2010 installed.
      Qt SDK 2.0 Beta1
      Qt Creator 2.0 Beta 1

    Description

      Visual Studio 6 sets two environment variables:

      include=C:\Program Files (x86)\Microsoft Visual Studio\VC98\atl\include;C:\Program Files (x86)\Microsoft Visual Studio\VC98\mfc\include;C:\Program Files (x86)\Microsoft Visual Studio\VC98\include
      lib=C:\Program Files (x86)\Microsoft Visual Studio\VC98\mfc\lib;C:\Program Files (x86)\Microsoft Visual Studio\VC98\lib and lib

      With these two variables set the debug helper won't compile. When I delete them everything is works fine. It doesn't help to add the include+lib paths of qt and mingw. I can reproduce this bug with older versions of the Qt SDK and with the actual 2.0 Betas.

      Output of Qt Creator:
      Entering directory `C:/Qt/4.7.0-beta1/qtc-debugging-helper'
      del tmp\obj\release_shared\gdbmacros.o
      del release\libgdbmacros.a
      del release\gdbmacros.dll
      del Makefile.Release
      mingw32-make[1]: Leaving directory `C:/Qt/4.7.0-beta1/qtc-debugging-helper'
      del Makefile

      Führe c:/qt/4.7.0-beta1/bin/qmake.exe aus...

      Führe C:/Qt/qtcreator-1.3.83/mingw/bin/mingw32-make.exe aus...
      C:/Qt/qtcreator-1.3.83/mingw/bin/mingw32-make -f Makefile.Debug all
      mingw32-make[1]: Entering directory `C:/Qt/4.7.0-beta1/qtc-debugging-helper'
      g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_EVAL -DUSE_QT_GUI=1 -DHAS_QOBJECT_P_H -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"..\include\QtCore" -I"..\include\QtGui" -I"..\include" -I"..\include\ActiveQt" -I"tmp\moc\debug_shared" -I"c:\Qt\qtcreator-1.3.83\mingw\include" -I"..\include" -I"c:\Program Files (x86)\Microsoft Visual Studio\VC98\atl\include" -I"c:\Program Files (x86)\Microsoft Visual Studio\VC98\mfc\include" -I"c:\Program Files (x86)\Microsoft Visual Studio\VC98\include" -I"..\mkspecs\win32-g++" -o tmp\obj\debug_shared\gdbmacros.o gdbmacros.cpp
      In file included from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/yvals.h:4,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstddef:10,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/exception:22,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/stdexcept:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xlocale:11,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xiosbase:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xlocnum:13,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/streambuf:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/ios:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/ostream:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/istream:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/string:9,
      from ..\include/QtCore/../../src/corelib/tools/qstring.h:60,
      from ..\include/QtCore/qstring.h:1,
      from ..\include/QtCore/../../src/corelib/tools/qdatetime.h:45,
      from ..\include/QtCore/qdatetime.h:1,
      from ..\include/QtCore/QDateTime:1,
      from gdbmacros.cpp:32:
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/use_ansi.h:34: warning: ignoring #pragma comment
      In file included from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstddef:10,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/exception:22,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/stdexcept:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xlocale:11,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xiosbase:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xlocnum:13,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/streambuf:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/ios:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/ostream:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/istream:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/string:9,
      from ..\include/QtCore/../../src/corelib/tools/qstring.h:60,
      from ..\include/QtCore/qstring.h:1,
      from ..\include/QtCore/../../src/corelib/tools/qdatetime.h:45,
      from ..\include/QtCore/qdatetime.h:1,
      from ..\include/QtCore/QDateTime:1,
      from gdbmacros.cpp:32:
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/yvals.h:19: warning: ignoring #pragma warning
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/yvals.h:20: warning: ignoring #pragma warning
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/yvals.h:21: warning: ignoring #pragma warning
      In file included from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/windef.h:166,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/windows.h:163,
      from gdbmacros.cpp:92:
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/winnt.h:113:1: warning: "_cdecl" redefined
      <built-in>: warning: this is the location of the previous definition
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/winnt.h:630:2: error: #error Must define a target architecture.
      In file included from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/windef.h:166,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/windows.h:163,
      from gdbmacros.cpp:92:
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/winnt.h:1504: warning: ignoring #pragma warning
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/winnt.h:1511: warning: ignoring #pragma warning
      In file included from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/windef.h:166,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/windows.h:163,
      from gdbmacros.cpp:92:
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/winnt.h:6773: warning: ignoring #pragma warning
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/winnt.h:6787: warning: ignoring #pragma warning
      In file included from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/objbase.h:13,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/ole2.h:41,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/windows.h:219,
      from gdbmacros.cpp:92:
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/rpcndr.h:1144: warning: ignoring #pragma warning
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/rpcndr.h:1152: warning: ignoring #pragma warning
      In file included from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/objbase.h:372,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/ole2.h:41,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/windows.h:219,
      from gdbmacros.cpp:92:
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/objidl.h:6192: warning: ignoring #pragma warning
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/objidl.h:6205: warning: ignoring #pragma warning
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/objidl.h:8874: warning: ignoring #pragma warning
      In file included from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/objbase.h:372,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/ole2.h:41,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/windows.h:219,
      from gdbmacros.cpp:92:
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/objidl.h:8888:1: error: pasting "/" and "/" does not give a valid preprocessing token
      In file included from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/urlmon.h:199,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/objbase.h:896,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/ole2.h:41,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/windows.h:219,
      from gdbmacros.cpp:92:
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/servprov.h:71: warning: ignoring #pragma comment
      In file included from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/msxml.h:69,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/urlmon.h:200,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/objbase.h:896,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/ole2.h:41,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/windows.h:219,
      from gdbmacros.cpp:92:
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/oaidl.h:419:1: error: pasting "/" and "/" does not give a valid preprocessing token
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/oaidl.h:433:1: error: pasting "/" and "/" does not give a valid preprocessing token
      In file included from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/objbase.h:896,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/ole2.h:41,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/windows.h:219,
      from gdbmacros.cpp:92:
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/urlmon.h:224: warning: ignoring #pragma comment
      In file included from ..\include\QtCore/../../src/corelib/global/qglobal.h:45,
      from ..\include\QtCore/qglobal.h:1,
      from gdbmacros.cpp:30:
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/stddef.h:99: error: redeclaration of C++ built-in type 'wchar_t'
      In file included from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/cstdlib:14,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xlocnum:12,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/streambuf:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/ios:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/ostream:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/istream:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/string:9,
      from ..\include/QtCore/../../src/corelib/tools/qstring.h:60,
      from ..\include/QtCore/qstring.h:1,
      from ..\include/QtCore/../../src/corelib/tools/qdatetime.h:45,
      from ..\include/QtCore/qdatetime.h:1,
      from ..\include/QtCore/QDateTime:1,
      from gdbmacros.cpp:32:
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/stdlib.h:287: warning: '_cdecl_' attribute only applies to function types
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/stdlib.h:287: error: '__int64' was not declared in this scope
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/stdlib.h:287: error: expected primary-expression before 'char'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/stdlib.h:287: error: expected primary-expression before 'int'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/stdlib.h:287: error: initializer expression list treated as compound expression
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/stdlib.h:289: error: expected constructor, destructor, or type conversion before '_atoi64'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/stdlib.h:339: warning: '_cdecl_' attribute only applies to function types
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/stdlib.h:339: error: '__int64' was not declared in this scope
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/stdlib.h:339: error: expected primary-expression before 'wchar_t'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/stdlib.h:339: error: expected primary-expression before 'int'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/stdlib.h:339: error: initializer expression list treated as compound expression
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/stdlib.h:341: error: expected constructor, destructor, or type conversion before '_wtoi64'
      In file included from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/cwchar:11,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/iosfwd:11,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/utility:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xmemory:15,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/stdexcept:10,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xlocale:11,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xiosbase:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xlocnum:13,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/streambuf:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/ios:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/ostream:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/istream:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/string:9,
      from ..\include/QtCore/../../src/corelib/tools/qstring.h:60,
      from ..\include/QtCore/qstring.h:1,
      from ..\include/QtCore/../../src/corelib/tools/qdatetime.h:45,
      from ..\include/QtCore/qdatetime.h:1,
      from ..\include/QtCore/QDateTime:1,
      from gdbmacros.cpp:32:
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/wchar.h:163: error: '__int64' does not name a type
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/wchar.h:430: error: '__int64' does not name a type
      In file included from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xmemory:15,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/stdexcept:10,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xlocale:11,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xiosbase:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xlocnum:13,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/streambuf:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/ios:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/ostream:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/istream:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/string:9,
      from ..\include/QtCore/../../src/corelib/tools/qstring.h:60,
      from ..\include/QtCore/qstring.h:1,
      from ..\include/QtCore/../../src/corelib/tools/qdatetime.h:45,
      from ..\include/QtCore/qdatetime.h:1,
      from ..\include/QtCore/QDateTime:1,
      from gdbmacros.cpp:32:
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/utility:81: error: type '_It' is not derived from type 'std::iterator_traits<_It>'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/utility:81: error: expected ';' before 'iterator_category'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/utility:82: error: type '_It' is not derived from type 'std::iterator_traits<_It>'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/utility:82: error: expected ';' before 'value_type'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/utility:83: error: type '_It' is not derived from type 'std::iterator_traits<_It>'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/utility:83: error: expected ';' before 'distance_type'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/utility:225: error: redefinition of default argument for 'class _Tr'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/iosfwd:220: note: original definition appeared here
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/utility:226: error: to refer to a type member of a template parameter, use 'typename _Tr::off_type'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/utility:290: error: redefinition of default argument for 'class _Tr'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/iosfwd:222: note: original definition appeared here
      In file included from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/stdexcept:10,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xlocale:11,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xiosbase:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xlocnum:13,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/streambuf:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/ios:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/ostream:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/istream:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/string:9,
      from ..\include/QtCore/../../src/corelib/tools/qstring.h:60,
      from ..\include/QtCore/qstring.h:1,
      from ..\include/QtCore/../../src/corelib/tools/qdatetime.h:45,
      from ..\include/QtCore/qdatetime.h:1,
      from ..\include/QtCore/QDateTime:1,
      from gdbmacros.cpp:32:
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:25: error: type '_A' is not derived from type 'std::basic_string<_E, _Tr, _A>'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:25: error: expected ';' before 'size_type'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:26: error: type '_A' is not derived from type 'std::basic_string<_E, _Tr, _A>'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:26: error: expected ';' before 'difference_type'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:27: error: type '_A' is not derived from type 'std::basic_string<_E, _Tr, _A>'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:27: error: expected ';' before 'pointer'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:28: error: type '_A' is not derived from type 'std::basic_string<_E, _Tr, _A>'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:28: error: expected ';' before 'const_pointer'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:29: error: type '_A' is not derived from type 'std::basic_string<_E, _Tr, _A>'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:29: error: expected ';' before 'reference'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:30: error: type '_A' is not derived from type 'std::basic_string<_E, _Tr, _A>'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:30: error: expected ';' before 'const_reference'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:31: error: type '_A' is not derived from type 'std::basic_string<_E, _Tr, _A>'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:31: error: expected ';' before 'value_type'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:32: error: type '_A' is not derived from type 'std::basic_string<_E, _Tr, _A>'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:32: error: expected ';' before 'iterator'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:33: error: type '_A' is not derived from type 'std::basic_string<_E, _Tr, _A>'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:33: error: expected ';' before 'const_iterator'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:34: error: 'const_iterator' was not declared in this scope
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:34: error: 'value_type' was not declared in this scope
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:35: error: 'const_reference' was not declared in this scope
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:35: error: 'const_pointer' was not declared in this scope
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:35: error: 'difference_type' was not declared in this scope
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:35: error: template argument 1 is invalid
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:35: error: template argument 2 is invalid
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:35: error: template argument 3 is invalid
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:35: error: template argument 4 is invalid
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:35: error: template argument 5 is invalid
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:37: error: 'value_type' was not declared in this scope
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:38: error: 'reference' was not declared in this scope
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:38: error: 'pointer' was not declared in this scope
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:38: error: 'difference_type' was not declared in this scope
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:38: error: type/value mismatch at argument 1 in template parameter list for 'template<class _RI, class _Ty, class _Rt, class _Pt, class _D> class std::reverse_iterator'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:38: error: expected a type, got 'iterator'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:38: error: template argument 2 is invalid
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:38: error: template argument 3 is invalid
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:38: error: template argument 4 is invalid
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:38: error: template argument 5 is invalid
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:45: error: 'size_type' has not been declared
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:45: error: 'size_type' has not been declared
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:48: error: 'size_type' has not been declared
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:53: error: expected ')' before '_N'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:55: error: 'const_iterator' does not name a type
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:56: error: expected ')' before '_F'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:63: error: 'size_type' does not name a type
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:78: error: 'size_type' has not been declared
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:78: error: 'size_type' has not been declared
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:90: error: 'size_type' has not been declared
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:100: error: expected ';' before '(' token
      In file included from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/winnt.h:3264,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/windef.h:166,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/windows.h:163,
      from gdbmacros.cpp:92:
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/pshpack4.h:30: error: expected ';' before end of line
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/pshpack4.h:30: error: expected '}' before end of line
      In file included from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/stdexcept:10,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xlocale:11,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xiosbase:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xlocnum:13,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/streambuf:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/ios:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/ostream:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/istream:9,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/string:9,
      from ..\include/QtCore/../../src/corelib/tools/qstring.h:60,
      from ..\include/QtCore/qstring.h:1,
      from ..\include/QtCore/../../src/corelib/tools/qdatetime.h:45,
      from ..\include/QtCore/qdatetime.h:1,
      from ..\include/QtCore/QDateTime:1,
      from gdbmacros.cpp:32:
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring: In constructor 'std::basic_string<_E, _Tr, _A>::basic_string(const _A&)':
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:41: error: class 'std::basic_string<_E, _Tr, _A>' does not have any field named 'allocator'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:41: error: there are no arguments to '_Tidy' that depend on a template parameter, so a declaration of '_Tidy' must be available
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:41: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring: In copy constructor 'std::basic_string<_E, _Tr, _A>::basic_string(const std::basic_string<_E, _Tr, _A>&)':
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:43: error: class 'std::basic_string<_E, _Tr, _A>' does not have any field named 'allocator'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:44: error: there are no arguments to '_Tidy' that depend on a template parameter, so a declaration of '_Tidy' must be available
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:44: error: 'npos' was not declared in this scope
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring: In constructor 'std::basic_string<_E, _Tr, _A>::basic_string(const std::basic_string<_E, _Tr, _A>&, int, int, const _A&)':
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:47: error: class 'std::basic_string<_E, _Tr, _A>' does not have any field named 'allocator'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:47: error: there are no arguments to '_Tidy' that depend on a template parameter, so a declaration of '_Tidy' must be available
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring: In constructor 'std::basic_string<_E, _Tr, _A>::basic_string(const _E*, int, const _A&)':
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:50: error: class 'std::basic_string<_E, _Tr, _A>' does not have any field named 'allocator'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:50: error: there are no arguments to '_Tidy' that depend on a template parameter, so a declaration of '_Tidy' must be available
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring: In constructor 'std::basic_string<_E, _Tr, _A>::basic_string(const _E*, const _A&)':
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:52: error: class 'std::basic_string<_E, _Tr, _A>' does not have any field named 'allocator'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:52: error: there are no arguments to '_Tidy' that depend on a template parameter, so a declaration of '_Tidy' must be available
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring: In destructor 'std::basic_string<_E, _Tr, _A>::~basic_string()':
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:59: error: there are no arguments to '_Tidy' that depend on a template parameter, so a declaration of '_Tidy' must be available
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring: In member function 'std::basic_string<_E, _Tr, _A>& std::basic_string<_E, _Tr, _A>::append(const std::basic_string<_E, _Tr, _A>&)':
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:77: error: 'npos' was not declared in this scope
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring: In member function 'std::basic_string<_E, _Tr, _A>& std::basic_string<_E, _Tr, _A>::append(const std::basic_string<_E, _Tr, _A>&, int, int)':
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:81: error: 'size_type' was not declared in this scope
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:81: error: expected ';' before '_N'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:82: error: '_N' was not declared in this scope
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:84: error: 'npos' was not declared in this scope
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:84: error: '_Len' was not declared in this scope
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:86: error: '_N' was not declared in this scope
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:86: error: '_Len' was not declared in this scope
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:87: error: '_Ptr' was not declared in this scope
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:88: error: there are no arguments to '_Eos' that depend on a template parameter, so a declaration of '_Eos' must be available
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring: In member function 'std::basic_string<_E, _Tr, _A>& std::basic_string<_E, _Tr, _A>::append(const _E*, int)':
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:91: error: 'npos' was not declared in this scope
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:91: error: '_Len' was not declared in this scope
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:93: error: 'size_type' was not declared in this scope
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:93: error: expected ';' before '_N'
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:94: error: '_N' was not declared in this scope
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:94: error: '_Len' was not declared in this scope
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:95: error: '_Ptr' was not declared in this scope
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/xstring:96: error: there are no arguments to '_Eos' that depend on a template parameter, so a declaration of '_Eos' must be available
      In file included from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/winnt.h:3264,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/windef.h:166,
      from c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/windows.h:163,
      from gdbmacros.cpp:92:
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/pshpack4.h: At global scope:
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/pshpack4.h:30: error: expected unqualified-id before end of line
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/pshpack4.h:30: error: expected '}' before end of line
      c:\Program Files (x86)\Microsoft Visual Studio\VC98\include/pshpack4.h:30: error: expected declaration before end of line
      mingw32-make[1]: *** [tmp/obj/debug_shared/gdbmacros.o] Error 1
      mingw32-make[1]: Leaving directory `C:/Qt/4.7.0-beta1/qtc-debugging-helper'
      mingw32-make: *** [debug-all] Error 2

      Attachments

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

        Activity

          People

            dt Daniel Teske
            ask Alex Skoruppa
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes