On 9/11/24 08:25, Pierrick Bouvier wrote:
On 9/11/24 05:51, Richard W.M. Jones wrote:
Although it's unlikely to be used on any compiler that can also
compile qemu, there is a third implementation of g_assert_not_reached
that does nothing, see:
https://gitlab.gnome.org/GNOME/glib/-/blob/927683ebd94eb66c0d7868b77863f57ce9c5bc76/
glib/gtestutils.h#L269
Rich.
Interesting.
At least gcc, clang and msvc are covered, this should be ok for most of the builds.
All of that is inside #ifdef G_DISABLE_ASSERT, which we will never set.
r~