As per Andre's email: This has been fixed in 56c5c8266a94fe5740839d71da59c6139e0c0c0f but make take a few more hours to show up in the public repo. Until then you can just add the #include or remove the offending line.
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of ext Mark Brand Sent: Monday, May 17, 2010 7:46 PM To: [email protected] Subject: [Qt-creator] [patch] typeid requires #include <typeinfo> Building the lastest qt-creator master branch fails for me on opensuse 11.2: qt-creator/src/plugins/cpptools/cppcodecompletion.cpp:1100: error: must #include <typeinfo> before using typeid make[3]: *** [.obj/release-shared/cppcodecompletion.o] Error 1 This patch fixes it: diff --git a/src/plugins/cpptools/cppcodecompletion.cpp b/src/plugins/cpptools/cppcodecompletion.cpp index 30d7db1..d81d769 100644 --- a/src/plugins/cpptools/cppcodecompletion.cpp +++ b/src/plugins/cpptools/cppcodecompletion.cpp @@ -44,6 +44,7 @@ #include <SymbolVisitor.h> #include <Scope.h> #include <TranslationUnit.h> +#include <typeinfo> #include <cplusplus/ResolveExpression.h> #include <cplusplus/DeprecatedLookupContext.h> _______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator _______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
