Waffl3x wrote:
One static_assert incorrectly used '_Alignof' instead of 'alignof',

...
  #ifndef __cplusplus
    _Static_assert (_Alignof(AAA) == _Alignof(int), "wrong alignment");
  #elif __cplusplus >= 201103L
-  static_assert (alignof(AAA) == _Alignof(int), "wrong alignment");
+  static_assert (alignof(AAA) == alignof(int), "wrong alignment");
  #endif

LGTM - the second _Alignof was probably missed when copy'n'paste the
C code.

Thanks,

Tobias


Reply via email to