bug-diffutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-diffutils] git source refuse to build with the default --enable-gcc


From: Charlie Brown
Subject: [bug-diffutils] git source refuse to build with the default --enable-gcc-warnings
Date: Mon, 8 Jul 2013 10:38:09 +0800

It seems that a bug in gnulib is stopping diffutils 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

---------------------------------------------------------------------------------------------------
fnmatch_loop.c:601:23: note: label 'normal_bracket' defined here
                       normal_bracket:
                       ^
fnmatch_loop.c:423:26: note: 'is_range' declared here
                     bool is_range = false;
                          ^
fnmatch_loop.c:268:29: error: jump skips variable initialization
[-Werror=jump-misses-init]
                             goto normal_bracket;
                             ^
fnmatch_loop.c:601:23: note: label 'normal_bracket' defined here
                       normal_bracket:
                       ^
fnmatch_loop.c:423:26: note: 'is_range' declared here
                     bool is_range = false;
                          ^
  CC       mktime.o
cc1: all warnings being treated as errors
make[2]: *** [fnmatch.o] Error 1



reply via email to

[Prev in Thread] Current Thread [Next in Thread]