mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Suppress gcc 15 unterminated-string-initialization warnings
This commit is contained in:
parent
545aafa2a2
commit
b42afa1dbc
12 changed files with 59 additions and 8 deletions
|
@ -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"};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue