CLion 2017.3 EAP: MSVC extensions, multiple compilers on one project and more
Please welcome the new EAP build of CLion 2017.3 (173.3188.25). Download the build by the link below. No license is required for this build, and you can install it side by side with your stable CLion version. Give it a try and let us know your feedback here or in the issue tracker.
With an experimental support for Microsoft Visual C++ compiler in CLion, we’ve received complaints about incorrect code highlighting and false errors in code analysis in case MSVC extensions are used. That’s why we’ve started the work in this direction and this EAP build brings some important results. CLion now supports:
- Pointer type attributes:
- MSVC built-in data types:
- Additional format specifiers, like
Besides, CLion can now treat clang’s
-fms-extensions flag correctly.
Switch C/C++ compilers with ease
These changes allow you to conveniently switch compilers on one project. This could be helpful in case you’d prefer to test/debug with various compiler versions, do some extensive testing with several GCC/Clang/MSVC compilers on the same project or just easily configure a compiler for your project in CLion.
Recently we’ve introduced multiple toolchains support in CLion 2017.3 EAP. This made it possible to have several toolchains at once on the same project and switch easily between them. Updated Toolchains page now allows you to select Make, C and C++ compilers:
You can either rely on a compiler/Make detected by CMake or select a custom one. Note, that CMake options
-DCMAKE_CXX_COMPILER take precedence over these compiler settings.
If the compiler is changed, the project will be automatically reloaded to apply the changes (CMakeCache.txt is cleared and CMake is regenerated). By the way, the same happens in case you change the CMake options in Settings/Preferences | Build, Execution, Deployment | CMake.
We continue our work on avoiding bogus warnings and errors in the code highlighter and inspections for the C++17 features that are not yet supported in CLion. This build fixes an annoying issue with marking code as unreachable in case
constexpr if is used.
That about wraps it up! Full release notes are available by the link.
Here is a quick reminder of the changes we’ve already made to CLion 2017.3 EAP:
- List initialization fixes, support for
__COUNTER__, fixes for
- Multiple toolchains support
- Bundled GDB 8.0
- Boost.Test support
- CMake 3.9 and Color Scheme changes
Your CLion Team
The Drive to Develop
Subscribe to Blog updates
Thanks, we've got you!