On 07/24/2014 06:06 AM, Chen Gang wrote:
I do not see this error message in my build which uses -Wall.
What is your build environment? Which version of GCC?
Originally, I use "CFLAGS=-W -g -O2" pass to configure. And '-W' is
different from '-Wall'. '-W' reports real 'all' warnings which can be
found by compiler, but '-Wall' reports most valuable warnings.
Sorry, after check details ("info gcc" in Chapter "Warning Options"),
What I said is incorrect. I list the related contents below (-W means
-Wextra, it can be used together with -Wall):