Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
Qt Creator 4.12.0
-
None
-
IAR toolchain 7.3 for ARM, QtCreator 4.12, BareMetal (STM32F4)
-
9e4fc34e7 (14.0), c41c3619b (14.0), 44927d7cd (14.0)
Description
I have QBS project with IAR toolchain 7.3 for ARM. I found several problems at Clang Code Model work with IAR toolchain.
1. CCM doesn`t undefine _GNUC_ macro when IAR toolchain set (_ICCARM). Both __GNUC_ and _ICCARM_, seems in project. (screen 1-2)
2. CCM marks some IAR compiler keywords as errors. (screen 3)
3. CCM doesn`t hightlight code with macro _ARMVFP_ correctly despite of compiler flag --fpu vfpv4_sp is used. IAR compiler define _ARMVFP_ macro, when calls with --fpu vfpv4_sp flag. (screen 4-5).
Attachments
For Gerrit Dashboard: QTCREATORBUG-24040 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
568434,2 | BareMetal: Add missing pre-defined macro | 14.0 | qt-creator/qt-creator | Status: MERGED | +2 | -1 |
568449,2 | QbsProjectManager: Consider common compiler flags | 14.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
568450,2 | BareMetal: Do not ignore compiler flags | 14.0 | qt-creator/qt-creator | Status: MERGED | +2 | +1 |