Skip to content

Commit

Permalink
fixup! 87ce6a0
Browse files Browse the repository at this point in the history
This needs to be guarded against GCC complaining that it does not know
this option... _sigh_

Signed-off-by: Johannes Schindelin <[email protected]>
  • Loading branch information
dscho committed Feb 25, 2025
1 parent d5953d8 commit 56c4f54
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions compat/win32/fscache.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 56c4f54

Please sign in to comment.