X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Ftypes%2Fdecl.c;h=ef6bd6dc0b9674b515359e16037ddb26a00f2347;hb=a107dfcca2dfd0fc5a2779a8d679f778cb8f3290;hp=eda230398533c9d251cdcadf0aebfc9698bb9db6;hpb=dfc032e7e195fc09c5ad2cda81d00a8958b80a66;p=m6w6%2Fext-psi diff --git a/src/types/decl.c b/src/types/decl.c index eda2303..ef6bd6d 100644 --- a/src/types/decl.c +++ b/src/types/decl.c @@ -29,8 +29,14 @@ # include "php_config.h" #endif +#if __GNUC__ >= 5 +# pragma GCC diagnostic ignored "-Wdiscarded-qualifiers" +#endif #include "php_psi_macros.h" #include "php_psi_redirs.h" +#if __GNUC__ >= 5 +# pragma GCC diagnostic pop +#endif #include #include