@@ -37,11 +37,13 @@ #import "OFString.h" #import "OFZIPArchiveEntry.h" extern struct Library *ObjFWBase; -#pragma GCC diagnostic ignored "-Warray-parameter" +#if OF_GCC_VERSION >= 1100 +# pragma GCC diagnostic ignored "-Warray-parameter" +#endif bool OFInit(unsigned int version, struct OFLibC *_Nonnull libc) { #if defined(OF_AMIGAOS_M68K)