[procps] Re: a few more patches

  • From: Jim Warner <james.warner@xxxxxxxxxxx>
  • To: Procps-ng Mail list <procps@xxxxxxxxxxxxx>
  • Date: Fri, 18 Feb 2022 10:23:43 -0600

On 2/17/22 10:29 PM, Craig Small wrote:

Hi Jim,
I'm using gcc version 11.2.0 (Debian 11.2.0-13)

Did you try it with my small test program and -Wformat ?

The question is, who's GCC is doing the right thing?

Hi Craig,

For the record, my full gcc version is:

        gcc (Ubuntu 11.2.0-7ubuntu2) 11.2.0

And I get your test program warnings with either:

        -Wformat or -Wformat-truncation.

But I cannot generate those top warnings.

Regards,

Jim

Other related posts: