diff --git a/src/internals.h b/src/internals.h index 631f5268..e07a31b3 100644 --- a/src/internals.h +++ b/src/internals.h @@ -113,6 +113,10 @@ disable : 4505) /* unreferenced local function has been removed */ #endif /* _MSC_VER (warnings) */ +#if defined(__GNUC__) && __GNUC__ < 9 +#pragma GCC diagnostic ignored "-Wattributes" +#endif /* GCC < 9 */ + #include "../mdbx.h" #include "defs.h"