On Thu, May 23, 2019 at 09:05:00AM +0200, Martin Husemann wrote: > On Thu, May 23, 2019 at 12:03:33AM +0200, Kamil Rytarowski wrote: > > >> -#if ((__cplusplus - 0) < 201103L) > > >> +#if defined(_ISOC11_SOURCE) || (__STDC_VERSION__ - 0) >= 201101L > > Am I missing something or does this (in addition to the intended change) > make the macro invisible for C++ compilations? Is that intended? If so, > shouldn't it be explained in the log message?
static_assert is a keyword in C++11. Joerg