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