Product News

Clang 6.0.0 released

LLVM 6.0.0 and Clang 6.0.0 are now available.

Clang 6.0.0 Release Notes

From the announcement:

Clang’s default C++ dialect is now gnu++14 instead of gnu++98. This means Clang will by default accept code using features from C++14 and conforming GNU extensions. Projects incompatible with C++14 can add -std=gnu++98 to their build settings to restore the previous behaviour.

Added support for some features from the C++ standard after C++17 (provisionally known as C++2a but expected to be C++20). This support can be enabled with the -std=c++2a flag. This enables:

  • Support for __VA_OPT__, to allow variadic macros to easily provide different expansions when they are invoked without variadic arguments.
  • Recognition of the <=> token (the C++2a three-way comparison operator).
  • Support for default member initializers for bit-fields.
  • Lambda capture of *this.
  • Pointer-to-member calls using const &-qualified pointers on temporary objects.

A warning has been added for a <= token followed immediately by a > character. Code containing such constructs will change meaning in C++2a due to the addition of the <=> operator.

Clang implements the “destroying operator delete” feature described in C++ committee paper P0722R1 <http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0722r1.html>, which is targeting inclusion in C++2a but has not yet been voted into the C++ working draft. Support for this feature is enabled by the presence of the standard library type std::destroying_delete_t.

 

Static Code Analyzer PVS-Studio 6.22 Now Supports ARM Compilers (Keil, IAR)

Now our articles have every chance to become even more interesting because PVS-Studio can now check the code of embedded devices. We have added support for a few ARM compilers, which I talk about in detail below.

Static Code Analyzer PVS-Studio 6.22 Now Supports ARM Compilers (Keil, IAR)

by Andrey Karpov

From the article:

I find the RT-Thread operating system a perfect candidate to be the first embedded system checked with PVS-Studio. I glanced through the analysis report by PVS-Studio and picked 95 warnings that I thought to be the most interesting ones. Too see all those messages for yourself, download the rt-thread-html-log.zip archive with the full HTML report. We introduced this format not so long ago, and some users may not know about it. So, I'd like to use this opportunity to explain it once again.

JetBrains runs an embedded dev survey

JetBrains considers embedded dev market a priority for C++ tools (especially CLion) and a very interesting direction for Kotlin/Native. However, before diving into it we are running a full-blown market research study.

Embedded developers survey

by JetBrains

About the survey

This survey is a part of these research activities. Tell us how you do embedded development, what tools you use, what your needs and pains points are, and how we can help.

Share your experience with us and get a chance to win a $50 Amazon certificate!

Make your C++ voice heard! Cross-industry survey from the VC++ team

The VC++ team is asking for your perspectives, whichever compiler you're using and whatever platform you're targeting:

Make your C++ voice heard! Cross-industry survey from the VC++ team

C++ is evolving, and so are our plans around it here at Microsoft. Recent investments by our team include the new cross-platform Visual Studio Code editor, CMake and Linux support in Visual Studio, a C++ language service which, when editing, can match your C++ compiler of choice, and support for remote debugging on any platform.

We would like to hear from you on what are your next set of challenges. Please take our survey to help shape our cross-platform C++ plans

CppDepend v2018.1 Released - CERT/HICPP standard Checks, C++ Core guidelines support and much more.

We are happy to inform you that CppDepend v2018.1 has been released and is now available for download!

More Information about CppDepend v2018.1 new features!

by CoderGears

About the release:

CppDepend v2018.1 allows architects and developers to analyze C and C++ code base. Measure, query and visualize source code and avoid unexpected issues, technical debt and complexity.

Start your 1-month free trial!

About the release

With CppDepend v2018.1 Save time, reduce costs and deliver high-quality code with these important updates:

  • CERT (SEI CERT C++ Coding Standard ) standard checks
  • HICPP (High Integrity C++) standard checks
  • More rules to check your modern C++ codebase(C++11,C++14,C++17): More than 20 modernization detections
  • Clang-tidy tool embedded for more issues detection
  • Analysis of the CMake format specification: CppDepend analyzes now out of the box the CMake Compilation Database Format Specification.
  • C++ Core Guidelines support
  • New rules related to the performance and the readability issues

 

GCC 7.3 released

It continues to improve:

GCC 7.3 released

From the article;

This page is a brief summary of some of the huge number of improvements in GCC 7. For more information, see the Porting to GCC 7 page and the full GCC documentation...

Spectre mitigations in MSVC--Andrew Pardoe

If you are a developer whose code operates on data that crosses a trust boundary then you should consider recompiling your code with the /Qspectre switch:

Spectre mitigations in MSVC

by Andrew Pardoe

From the article:

Microsoft is aware of a new publicly disclosed class of vulnerabilities, called “speculative execution side-channel attacks,” that affect many operating systems and modern processors, including processors from Intel, AMD, and ARM...