Richard Henderson 3ebee3b191 osdep: Work around MinGW assert
In several places we use assert(FEATURE), and assume that if FEATURE
is disabled, all following code is removed as unreachable.  Which allows
us to compile-out functions that are only present with FEATURE, and
have a link-time failure if the functions remain used.

MinGW does not mark its internal function _assert() as noreturn, so the
compiler cannot see when code is unreachable, which leads to link errors
for this host that are not present elsewhere.

The current build-time failure concerns 62823083b8a2, but I remember
having seen this same error before.  Fix it once and for all for MinGW.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20181022181623.8810-1-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2018-10-23 10:12:46 +01:00
..
2018-10-18 19:46:36 -07:00
2018-10-02 18:47:55 +02:00
2017-09-22 14:11:25 +02:00
2018-10-18 19:46:36 -07:00
2017-07-24 12:42:55 +01:00
2018-10-05 16:14:22 +04:00
2016-06-07 18:19:23 +03:00
2017-10-16 20:57:13 +03:00
2016-10-26 08:29:01 -07:00
2017-09-05 22:34:40 +02:00
2018-08-23 18:46:25 +02:00
2018-03-12 11:18:26 +01:00
2018-10-23 10:12:46 +01:00
2016-06-16 18:39:03 +02:00
2018-09-26 08:55:54 -07:00
2018-08-23 18:46:25 +02:00
2018-08-23 18:46:25 +02:00
2018-01-16 14:54:50 +01:00
2018-08-23 18:46:25 +02:00
2017-06-16 07:55:00 +08:00
2016-02-23 12:43:05 +00:00
2018-10-19 19:01:07 +01:00
2018-06-15 14:40:56 +01:00
2018-08-24 20:26:37 +02:00
2018-10-01 12:51:12 +02:00
2016-09-15 15:32:22 +03:00
2017-12-20 22:01:24 +08:00
2018-02-08 09:22:03 +08:00
2017-01-24 23:26:52 +03:00