Skip to content

Mark g_assert_* as noreturn on MSVC

It is unfortunate that we cannot properly define G_GNUC_NORETURN since __declspec need to be at before the declaration while gcc attributes can also follow it. Adding this specific annotation however covers the large majority of warnings related to not having a "return" statement after an g_assert_not_reached.

Closes issue #994 (closed)

Merge request reports