Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
Qt Creator 3.1.0-beta
Description
When a header file includes <algorithm> from Visual Studio 2010's STL, there's an assert from libclang.dll.
Qt Creator 3.0.81
Based on Qt 5.2.0 (MSVC 2010, 32 bit)
Built on Jan 22 2014 at 11:58:49
from 8b64e8599e69334aa20c69bee6ca476df767e7e5 (Jan 9)
clang downloaded from http://llvm.org/releases/3.4/LLVM-3.4-win32.exe
Qt 5.2.0 downloaded from http://ftp.fau.de/qtproject/official_releases/qt/5.2/5.2.0/qt-windows-opensource-5.2.0-msvc2010_opengl-x86-offline.exe
Repro:
The default kit should be Qt 5.2.0 and based on MSVC 2010 (not sure how relevant but that's what I have)
Build qt creator with ClangCodeModel support and enable the plugin in Help->About plugins
Load the attached project
Open header.h
Attaching screenshot of the error.
Note that there's no assert when opening main.cpp, even though it includes <algorithm> as well. You can even ctrl-click the include and inspect algorithm's source.
Attachments
Issue Links
- relates to
-
QTCREATORBUG-11655 QtCreator crashes on code editing with Clang code model
- Closed