[glibc] malloc: Fix mallinfo deprecation declaration

Florian Weimer fw@deneb.enyo.de
Mon Aug 31 18:28:08 GMT 2020


* Adhemerval Zanella via Glibc-cvs:

> +  /* The test below covers the deprecated mallinfo function.  */
> +  DIAG_PUSH_NEEDS_COMMENT;
> +  DIAG_IGNORE_NEEDS_COMMENT (4.9, "-Wdeprecated-declarations");

This should be 10 or 11, not 4.9.  The ignored diagnostics is required
for current compilers, and will always be.


More information about the Libc-alpha mailing list