sys/debug.h: CTASSERT should use _Static_assert
The subject is really telling it all.
Testing done: full nightly build.
Updated by Electric Monk over 1 year ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
commit 6328d71e9dd97ed4dfdf9425b5dc7b9deb6f579a Author: Toomas Soome <email@example.com> Date: 2022-05-18T15:31:03.000Z 14454 sys/debug.h: CTASSERT should use _Static_assert Reviewed by: Robert Mustacchi <firstname.lastname@example.org> Reviewed by: Patrick Mooney <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>
Updated by Gordon Ross over 1 year ago
The _Static_assert feature is in C11 and later: https://en.cppreference.com/w/c/language/_Static_assert