Skip to content

[9.18] Avoid lossage from <stdnoreturn.h>

Tony Finch requested to merge fanf-noreturn-lossage-bind-9.18 into bind-9.18

A few of the source files in tests/ns included <isc/util.h> before <cmocka.h>. This could cause compile failures because the CMOCKA_NORETURN macro is defined as __attribute__((noreturn)) and <stdnoreturn.h> defines noreturn as _Noreturn which does not work as a gcc-style attribute.

Backport of !7906 (merged)

(cherry picked from commit 623f2fdb)

Edited by Tony Finch

Merge request reports