RE: Fix compilation warnings when CFLAGS -Og is specified

2023-08-01 Thread Hayato Kuroda (Fujitsu)
Dear Horiguchi-san, Thanks for replying! > > My gcc version is 4.8.5, and ninja is 1.10.2. > > gcc 4.8 looks very old? > > AFAIS all of those complaints are false positives and if I did this > correclty, gcc 11.3 seems to have been fixed in this regard. I switched to newer gcc (8.3, still old.

Re: Fix compilation warnings when CFLAGS -Og is specified

2023-07-31 Thread Kyotaro Horiguchi
At Tue, 1 Aug 2023 04:51:55 +, "Hayato Kuroda (Fujitsu)" wrote in > Dear hackers, > > # Background > > Based on [1], I did configure and build with options: > (I used Meson build system, but it could be reproduced by Autoconf/Make) > > ``` > $ meson setup -Dcassert=true -Ddebug=true -Dc_a

Fix compilation warnings when CFLAGS -Og is specified

2023-07-31 Thread Hayato Kuroda (Fujitsu)
Dear hackers, # Background Based on [1], I did configure and build with options: (I used Meson build system, but it could be reproduced by Autoconf/Make) ``` $ meson setup -Dcassert=true -Ddebug=true -Dc_args=-Og ../builder $ cd ../builder $ ninja ``` My gcc version is 4.8.5, and ninja is 1.10