RIOT/makefiles
Marian Buschsieweke 01382dc4ad
makefiles: Add -fwrapv to CFLAGS
This commit makes overflow of signed integers to behave as expected by at 90%
of the C developers, even though overflow of signed integers are strictly
undefined behavior.

Note: Please do not add code relying on a specific behavior for the overflow of
      signed integers, even though `-fwrpav` will make that code work. This is
      intended to mitigate the risk of bugs in overflow checks being exploited,
      not to encourage adding new bugs.

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30475 for details and see
http://c-faq.com/misc/intovf.html on how to implement overflow checks properly.
2021-01-25 13:35:43 +01:00
..
2021-01-22 19:05:20 +01:00
2020-11-05 22:59:29 +01:00
2020-08-24 20:45:05 +02:00
2019-11-23 22:39:07 +01:00
2021-01-25 13:35:43 +01:00