fixup! 87ce6a064bc2a8df6d5fff26f09219420e03ab23

This needs to be guarded against GCC complaining that it does not know
this option... _sigh_

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
Johannes Schindelin 2025-02-25 11:37:08 +00:00
parent d5953d8d45
commit 56c4f543d0

View File

@ -79,7 +79,9 @@ struct fsentry {
#pragma GCC diagnostic pop
#pragma GCC diagnostic push
#ifdef __clang__
#pragma GCC diagnostic ignored "-Wflexible-array-extensions"
#endif
struct heap_fsentry {
union {
struct fsentry ent;
@ -600,7 +602,9 @@ int fscache_lstat(const char *filename, struct stat *st)
{
int dirlen, base, len;
#pragma GCC diagnostic push
#ifdef __clang__
#pragma GCC diagnostic ignored "-Wflexible-array-extensions"
#endif
struct heap_fsentry key[2];
#pragma GCC diagnostic pop
struct fsentry *fse;