Suppress gcc 15 unterminated-string-initialization warnings

This commit is contained in:
Nobuyoshi Nakada 2025-04-30 18:35:25 +09:00
parent 545aafa2a2
commit b42afa1dbc
No known key found for this signature in database
GPG key ID: 3582D74E1FEE4465
12 changed files with 59 additions and 8 deletions

View file

@ -140,6 +140,9 @@ xor64_to(uint64_t *v, const uint64_t s)
#endif
static const union {
#if defined(__has_attribute) && __has_attribute(nonstring)
__attribute__((nonstring))
#endif
char bin[32];
uint64_t u64[4];
} sip_init_state_bin = {"uespemos""modnarod""arenegyl""setybdet"};