[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #35513] Build fails with NLS disabled [-Werror=shadow]
From: |
Gregoire Sutre |
Subject: |
[bug #35513] Build fails with NLS disabled [-Werror=shadow] |
Date: |
Sun, 12 Feb 2012 12:27:00 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1 Iceweasel/9.0.1 |
URL:
<http://savannah.gnu.org/bugs/?35513>
Summary: Build fails with NLS disabled [-Werror=shadow]
Project: GNU GRUB
Submitted by: gsutre
Submitted on: Sun 12 Feb 2012 01:26:58 PM CET
Category: Compilation
Severity: Ordinary
Priority: 5 - Normal
Item Group: Software Error
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release:
Release: Bazaar - trunk
Reproducibility: Every Time
Planned Release: None
_______________________________________________________
Details:
This is with a fresh grub trunk export on Debian/GNU Linux (amd64), GCC
4.6.2.
$ (./autogen.sh && ./configure --disable-nls && make) > /tmp/build.log 2>&1
$ tail -10 /tmp/build.log
gcc -DHAVE_CONFIG_H -I. -Wall -W -I./include -DGRUB_UTIL=1
-DGRUB_LIBDIR=\"/usr/local/lib/grub\" -DLOCALEDIR=\"/usr/local/share/locale\"
-DGRUB_MACHINE_PCBIOS=1 -DGRUB_MACHINE=I386_PC -DGRUB_TARGET_CPU_I386=1
-DGRUB_FILE=\"util/misc.c\" -I. -I. -I. -I. -I./include -I./include
-I./grub-core/gnulib -I./grub-core/gnulib -Wall -W -Wshadow
-Wold-style-declaration -Wold-style-definition -Wpointer-arith -Wundef -Wextra
-Waddress -Warray-bounds -Wattributes -Wbuiltin-macro-redefined -Wcast-align
-Wchar-subscripts -Wclobbered -Wcomment -Wcoverage-mismatch -Wdeprecated
-Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body
-Wendif-labels -Wfloat-equal -Wformat-contains-nul -Wformat-extra-args
-Wformat-security -Wformat-y2k -Wignored-qualifiers -Wimplicit
-Wimplicit-function-declaration -Wimplicit-int -Winit-self
-Wint-to-pointer-cast -Winvalid-pch -Wunsafe-loop-optimizations -Wlogical-op
-Wmain -Wmissing-braces -Wmissing-field-initializers
-Wmissing-format-attribute -Wmissing-noreturn -Wmudflap -Wmultichar -Wnonnull
-Woverflow -Wpacked-bitfield-compat -Wparentheses -Wpointer-arith
-Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare
-Wstack-protector -Wstrict-aliasing -Wswitch -Wsync-nand -Wtrigraphs
-Wtype-limits -Wundef -Wuninitialized -Wunknown-pragmas -Wunreachable-code
-Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-result
-Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var
-Wwrite-strings -Wmissing-declarations -Wmissing-parameter-type
-Wmissing-prototypes -Wnested-externs -Wstrict-prototypes -Wpointer-sign
-Werror -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter
-Wno-redundant-decls -Wno-unreachable-code -Wno-conversion
-Wno-old-style-definition -MT util/libgrubkern_a-misc.o -MD -MP
-MF util/.deps-util/libgrubkern_a-misc.Tpo -c -o util/libgrubkern_a-misc.o
`test -f 'util/misc.c' || echo './'`util/misc.c
In file included from util/misc.c:43:0:
./include/grub/i18n.h:45:1: error: declaration of 'gettext' shadows a built-in
function [-Werror=shadow]
cc1: all warnings being treated as errors
make[2]: *** [util/libgrubkern_a-misc.o] Error 1
make[2]: Leaving directory `/tmp/GREG/grub'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/GREG/grub'
make: *** [all] Error 2
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sun 12 Feb 2012 01:26:58 PM CET Name: build.log Size: 55kB By:
gsutre
<http://savannah.gnu.org/bugs/download.php?file_id=25047>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?35513>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #35513] Build fails with NLS disabled [-Werror=shadow],
Gregoire Sutre <=