bug-grub
[Top][All Lists]
Advanced

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

[bug #31725] grub_cmd_regexp: error: unused variable argn


From: Micah Anderson
Subject: [bug #31725] grub_cmd_regexp: error: unused variable argn
Date: Sun, 21 Nov 2010 23:09:29 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.15) Gecko/20101028 Iceweasel/3.5.15 (like Firefox/3.5.15)

URL:
  <http://savannah.gnu.org/bugs/?31725>

                 Summary: grub_cmd_regexp: error: unused variable argn
                 Project: GNU GRUB
            Submitted by: micahanderson
            Submitted on: Sun 21 Nov 2010 11:09:29 PM GMT
                Category: Compilation
                Severity: Major
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
                 Release: Bazaar - trunk
         Reproducibility: None
         Planned Release: None

    _______________________________________________________

Details:

During compilation of trunk, I got this:

   
gcc-4.4 -DHAVE_CONFIG_H -I. -I../../../grub-core -I..  -Wall -W
-I../../../include -I../include  -DGRUB_MACHINE_PCBIOS=1
-DGRUB_MACHINE=I386_PC -nostdinc -isystem
/usr/lib/gcc/i486-linux-gnu/4.4.5/include -DGRUB_FILE=\"bus/pci.c\" -I.
-I../../../grub-core -I.. -I../../.. -I../../../include -I../include     -Os
-Wall -W -Wshadow -Wpointer-arith -Wmissing-prototypes -Wundef
-Wstrict-prototypes -g -falign-jumps=1 -falign-loops=1 -falign-functions=1
-mno-mmx -mno-sse -mno-sse2 -mno-3dnow -fno-dwarf2-cfi-asm -m32
-fno-stack-protector -mno-stack-arg-probe -Werror -DUSE_ASCII_FAILBACK=1
-DHAVE_UNIFONT_WIDTHSPEC=1  -mrtd -mregparm=3       -ffreestanding  -g -Wall
-O2 -c -o bus/pci_module-pci.o `test -f 'bus/pci.c' || echo
'../../../grub-core/'`bus/pci.c
gcc-4.4 -Os -Wall -W -Wshadow -Wpointer-arith -Wmissing-prototypes -Wundef
-Wstrict-prototypes -g -falign-jumps=1 -falign-loops=1 -falign-functions=1
-mno-mmx -mno-sse -mno-sse2 -mno-3dnow -fno-dwarf2-cfi-asm -m32
-fno-stack-protector -mno-stack-arg-probe -Werror -DUSE_ASCII_FAILBACK=1
-DHAVE_UNIFONT_WIDTHSPEC=1  -mrtd -mregparm=3       -ffreestanding  -g -Wall
-O2 -m32 -Wl,--build-id=none   -nostdlib -Wl,-N,-r,-d   -o pci.module
bus/pci_module-pci.o   
gcc-4.4 -DHAVE_CONFIG_H -I. -I../../../grub-core -I..  -Wall -W
-I../../../include -I../include  -DGRUB_MACHINE_PCBIOS=1
-DGRUB_MACHINE=I386_PC -nostdinc -isystem
/usr/lib/gcc/i486-linux-gnu/4.4.5/include
-DGRUB_FILE=\"commands/i386/cmostest.c\" -I. -I../../../grub-core -I..
-I../../.. -I../../../include -I../include     -Os -Wall -W -Wshadow
-Wpointer-arith -Wmissing-prototypes -Wundef -Wstrict-prototypes -g
-falign-jumps=1 -falign-loops=1 -falign-functions=1 -mno-mmx -mno-sse
-mno-sse2 -mno-3dnow -fno-dwarf2-cfi-asm -m32 -fno-stack-protector
-mno-stack-arg-probe -Werror -DUSE_ASCII_FAILBACK=1 -DHAVE_UNIFONT_WIDTHSPEC=1
 -mrtd -mregparm=3       -ffreestanding  -g -Wall -O2 -c -o
commands/i386/cmostest_module-cmostest.o `test -f 'commands/i386/cmostest.c'
|| echo '../../../grub-core/'`commands/i386/cmostest.c
gcc-4.4 -Os -Wall -W -Wshadow -Wpointer-arith -Wmissing-prototypes -Wundef
-Wstrict-prototypes -g -falign-jumps=1 -falign-loops=1 -falign-functions=1
-mno-mmx -mno-sse -mno-sse2 -mno-3dnow -fno-dwarf2-cfi-asm -m32
-fno-stack-protector -mno-stack-arg-probe -Werror -DUSE_ASCII_FAILBACK=1
-DHAVE_UNIFONT_WIDTHSPEC=1  -mrtd -mregparm=3       -ffreestanding  -g -Wall
-O2 -m32 -Wl,--build-id=none   -nostdlib -Wl,-N,-r,-d   -o cmostest.module
commands/i386/cmostest_module-cmostest.o   
gcc-4.4 -DHAVE_CONFIG_H -I. -I../../../grub-core -I..  -Wall -W
-I../../../include -I../include  -DGRUB_MACHINE_PCBIOS=1
-DGRUB_MACHINE=I386_PC -nostdinc -isystem
/usr/lib/gcc/i486-linux-gnu/4.4.5/include -DGRUB_FILE=\"commands/iorw.c\" -I.
-I../../../grub-core -I.. -I../../.. -I../../../include -I../include     -Os
-Wall -W -Wshadow -Wpointer-arith -Wmissing-prototypes -Wundef
-Wstrict-prototypes -g -falign-jumps=1 -falign-loops=1 -falign-functions=1
-mno-mmx -mno-sse -mno-sse2 -mno-3dnow -fno-dwarf2-cfi-asm -m32
-fno-stack-protector -mno-stack-arg-probe -Werror -DUSE_ASCII_FAILBACK=1
-DHAVE_UNIFONT_WIDTHSPEC=1  -mrtd -mregparm=3       -ffreestanding  -g -Wall
-O2 -c -o commands/iorw_module-iorw.o `test -f 'commands/iorw.c' || echo
'../../../grub-core/'`commands/iorw.c
gcc-4.4 -Os -Wall -W -Wshadow -Wpointer-arith -Wmissing-prototypes -Wundef
-Wstrict-prototypes -g -falign-jumps=1 -falign-loops=1 -falign-functions=1
-mno-mmx -mno-sse -mno-sse2 -mno-3dnow -fno-dwarf2-cfi-asm -m32
-fno-stack-protector -mno-stack-arg-probe -Werror -DUSE_ASCII_FAILBACK=1
-DHAVE_UNIFONT_WIDTHSPEC=1  -mrtd -mregparm=3       -ffreestanding  -g -Wall
-O2 -m32 -Wl,--build-id=none   -nostdlib -Wl,-N,-r,-d   -o iorw.module
commands/iorw_module-iorw.o   
gcc-4.4 -DHAVE_CONFIG_H -I. -I../../../grub-core -I..  -Wall -W
-I../../../include -I../include  -DGRUB_MACHINE_PCBIOS=1
-DGRUB_MACHINE=I386_PC -nostdinc -isystem
/usr/lib/gcc/i486-linux-gnu/4.4.5/include -DGRUB_FILE=\"commands/regexp.c\"
-I. -I../../../grub-core -I.. -I../../.. -I../../../include -I../include  
-I../../../grub-core/lib/posix_wrap -I../grub-core/gnulib
-I../../../grub-core/gnulib   -Os -Wall -W -Wshadow -Wpointer-arith
-Wmissing-prototypes -Wundef -Wstrict-prototypes -g -falign-jumps=1
-falign-loops=1 -falign-functions=1 -mno-mmx -mno-sse -mno-sse2 -mno-3dnow
-fno-dwarf2-cfi-asm -m32 -fno-stack-protector -mno-stack-arg-probe -Werror
-DUSE_ASCII_FAILBACK=1 -DHAVE_UNIFONT_WIDTHSPEC=1  -mrtd -mregparm=3      
-ffreestanding -fno-builtin -Wno-undef -Wno-sign-compare -Wno-unused
-Wno-unused-parameter  -g -Wall -O2 -c -o commands/regexp_module-regexp.o
`test -f 'commands/regexp.c' || echo '../../../grub-core/'`commands/regexp.c
cc1: warnings being treated as errors
../../../grub-core/commands/regexp.c: In function ‘grub_cmd_regexp’:
../../../grub-core/commands/regexp.c:90: error: unused variable ‘argn’
make[5]: *** [commands/regexp_module-regexp.o] Error 1
make[5]: Leaving directory `/root/grub/grub/build/grub-common/grub-core'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/root/grub/grub/build/grub-common/grub-core'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/grub/grub/build/grub-common'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/grub/grub/build/grub-common'
dh_auto_build: make -j1 returned exit code 2
make[1]: *** [build/stamps/build-grub-common] Error 2
make[1]: Leaving directory `/root/grub/grub'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31725>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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