[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#14817: git source refuse to build with the default --enable-gcc-warn
From: |
Charlie Brown |
Subject: |
bug#14817: git source refuse to build with the default --enable-gcc-warnings |
Date: |
Mon, 8 Jul 2013 10:43:39 +0800 |
It seems that a bug in gnulib is stopping coreutils git source from
build with the default --enable-gcc-warnings turned on.
The gnulib team have push a fix in their git source, but I don't know
how to get the gnulib submodule to use the latest git source.
How can I do that switch?
Thanks in advance!
Sincerely,
王文鑫
Charlie
-----------------------------------------------------------------------------------
In file included from lib/fnmatch.c:170:0:
lib/fnmatch_loop.c: In function 'internal_fnmatch':
lib/fnmatch_loop.c:237:21: error: jump skips variable initialization
[-Werror=jump-misses-init]
goto normal_bracket;
^
lib/fnmatch_loop.c:601:23: note: label 'normal_bracket' defined here
normal_bracket:
^
lib/fnmatch_loop.c:423:26: note: 'is_range' declared here
bool is_range = false;
^
lib/fnmatch_loop.c:268:29: error: jump skips variable initialization
[-Werror=jump-misses-init]
goto normal_bracket;
^
lib/fnmatch_loop.c:601:23: note: label 'normal_bracket' defined here
normal_bracket:
^
lib/fnmatch_loop.c:423:26: note: 'is_range' declared here
bool is_range = false;
^
CC lib/fseeko.o
In file included from lib/fnmatch.c:266:0:
lib/fnmatch_loop.c: In function 'internal_fnwmatch':
lib/fnmatch_loop.c:237:21: error: jump skips variable initialization
[-Werror=jump-misses-init]
goto normal_bracket;
^
lib/fnmatch_loop.c:601:23: note: label 'normal_bracket' defined here
normal_bracket:
^
lib/fnmatch_loop.c:423:26: note: 'is_range' declared here
bool is_range = false;
^
lib/fnmatch_loop.c:268:29: error: jump skips variable initialization
[-Werror=jump-misses-init]
goto normal_bracket;
^
lib/fnmatch_loop.c:601:23: note: label 'normal_bracket' defined here
normal_bracket:
^
lib/fnmatch_loop.c:423:26: note: 'is_range' declared here
bool is_range = false;
^
cc1: all warnings being treated as errors
make[2]: *** [lib/fnmatch.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/mnt/clfs/sources/coreutils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/clfs/sources/coreutils'
make: *** [all] Error 2
- bug#14817: git source refuse to build with the default --enable-gcc-warnings,
Charlie Brown <=