Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
Qt Creator 1.2.1
-
None
-
07c2451abd28dd2598f0570622b4324288cbaccc
Description
Qt Creator crashes when including <cml/cml.h> from the Configurable Math Library.
Steps to reproduce:
1. Install CML header files (available from http://www.cmldev.net/).
2. Create new project in Qt Creator.
3. Add INCLUDEPATH += <path/to/cml.h/..> to the project's .pro file and save.
4. Add #include <cml/cml.h> to main.cpp. Memory consumption should increase and Qt Creator will crash after a while, when not enough memory can be allocated.
The increasing memory consumption starts when Qt Creator parses the select_switch template struct in cml/core/meta/switch.h.
The crash does not occur if INCLUDEPATH += <path/to/cml.h> is added to the .pro file and #include <cml.h> is added to main.cpp instead.