static_assert(LOOP_ITERS<UINT32_MAX,"LOOP_ITERS >= UINT32_MAX!");<---syntaxerrorstatic_assert(REDRTE_CPUSET_SIZE==SPDK_CPUSET_SIZE);<---syntaxerrorstatic_assert(REDTRC_CLASS_NR<0x100,"Too many trace classes.");<---syntaxerrorstatic_assert(0,"varbe only implemented for little endian byte order");<---syntaxerrorstatic_assert(std::is_integral<T>::value,"integer type expected");<---syntaxerrorstatic_assert(sizeof(red_ds_hndl_t)==8,"sizeof(red_ds_hndl_t) != 8");<---syntaxerror
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
With Cppcheck premium 24.11.0 I am seeing syntax error reported on many static_assert() calls
with flags
Examples: