tor/src/core
Nick Mathewson fa8ecf8820 Better fix for #40241 (--enable-all-bugs-are-fatal and fallthrough)
This one should work on GCC _and_ on Clang.  The previous version
made Clang happier by not having unreachable "fallthrough"
statements, but made GCC sad because GCC didn't think that the
unconditional failures were really unconditional, and therefore
_wanted_ a FALLTHROUGH.

This patch adds a FALLTHROUGH_UNLESS_ALL_BUGS_ARE_FATAL macro that
seems to please both GCC and Clang in this case: ordinarily it is a
FALLTHROUGH, but when ALL_BUGS_ARE_FATAL is defined, it's an
abort().

Fixes bug 40241 again.  Bugfix on earlier fix for 40241, which was
merged into maint-0.3.5 and forward, and released in 0.4.5.3-rc.
2021-01-13 09:54:43 -05:00
..
crypto Bump copyright date to 2019. 2019-01-16 12:32:32 -05:00
mainloop Merge remote-tracking branch 'tor-gitlab/mr/79' into maint-0.3.5 2020-10-07 08:25:55 -04:00
or Better fix for #40241 (--enable-all-bugs-are-fatal and fallthrough) 2021-01-13 09:54:43 -05:00
proto Use __attribute__((fallthrough)) rather than magic GCC comments. 2020-05-06 16:51:11 -04:00
include.am Extract addr-policy parsing code. 2018-10-01 11:17:19 -05:00