1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

11 Commits

Author SHA1 Message Date
Gunar Schorcht
54e915eec5 core/assert: allow multiple static_asserts
Uses an own scope for the definition of the enum const to allow multiple `static_assert` statements within the same function in non-C11 environments.
2019-10-19 16:16:24 +02:00
Sebastian Meiling
dceff6c22f doxygen: use ingroup instead of addtogroup in core 2019-01-09 08:42:59 +01:00
Matthew Blue
2bd1d7f045 core/assert: provide static_assert for c99 2018-06-03 03:15:17 -04:00
Juan Carrano
09d1b2eac7 core: Make assert be an expression.
The "verbose" alternative for assert() is now an expression and
can be used in all the places that a funcion call can be used.
2018-05-15 14:25:55 +02:00
Pieter Willemsen
729441fdb6 assert: add static_assert if using c11 2018-04-03 16:09:31 +02:00
Martine Lenders
235375f664 native: always assert() verbosely 2016-11-29 19:28:23 +01:00
Martine Lenders
8406164ece core: fix stdio.h include for assert 2016-11-18 15:44:25 +01:00
Martine Lenders
65a11162fe core: define macro for verbose behavior for assert()
Since this is also done for MSP430 specifically that file can be
removed.
2016-10-31 13:51:54 +01:00
Martine Lenders
d724b7c9aa core: add documentation on how to get line of failed assert() 2016-10-11 09:06:41 +02:00
René Kijewski
888e146fe4 core: define assertion failed message in one place 2015-09-11 23:23:30 +02:00
Oleg Hahm
c4ba1c53ed core: added RIOT's own assert macro 2015-09-11 16:09:28 +02:00