forked from qt-creator/qt-creator
Disable C++0x support for now
It introduced at least one new crash to do with recovering from parsing errors. Reviewed-by: Roberto Raggi
This commit is contained in:
@@ -123,7 +123,7 @@ Document::Document(const QString &fileName)
|
|||||||
localFileName.size());
|
localFileName.size());
|
||||||
_translationUnit = new TranslationUnit(_control, fileId);
|
_translationUnit = new TranslationUnit(_control, fileId);
|
||||||
_translationUnit->setQtMocRunEnabled(true);
|
_translationUnit->setQtMocRunEnabled(true);
|
||||||
_translationUnit->setCxxOxEnabled(true);
|
_translationUnit->setCxxOxEnabled(false);
|
||||||
_translationUnit->setObjCEnabled(true);
|
_translationUnit->setObjCEnabled(true);
|
||||||
(void) _control->switchTranslationUnit(_translationUnit);
|
(void) _control->switchTranslationUnit(_translationUnit);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user