grub-devel
[Top][All Lists]
Advanced

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

warnings when compiling minix and hfs


From: Yoshinori K. Okuji
Subject: warnings when compiling minix and hfs
Date: Sat, 21 Aug 2004 13:56:47 +0200
User-agent: KMail/1.6.1

I get these warnings when compiming minix.c and hfs.c:

gcc -Ifs -I../fs -I. -Iinclude -I../include -Wall -W -Wall -W -Wshadow 
-Wpointer-arith -Wmissing-prototypes            -Wundef 
-Wstrict-prototypes -g -Os -falign-jumps=1 -falign-loops=1 
-falign-functions=1 -fno-builtin -mrtd -mregparm=3 -c -o 
minix_mod-fs_minix.o ../fs/minix.c
../fs/minix.c: In function `grub_minix_get_file_block':
../fs/minix.c:131: warning: no previous prototype for `grub_get_indir'
../fs/minix.c: In function `grub_get_indir':
../fs/minix.c:134: warning: declaration of `indir' shadows a previous 
local
../fs/minix.c:127: warning: shadowed declaration is here
../fs/minix.c:143: warning: declaration of `indir' shadows a previous 
local
../fs/minix.c:127: warning: shadowed declaration is here
rm -f pre-minix.o
ld -r -o pre-minix.o minix_mod-fs_minix.o
nm -g --defined-only -P -p pre-minix.o | sed 's/^\([^ ]*\).*/\1 minix/' 
> def-minix.lst
gcc -Ifs -I../fs -I. -Iinclude -I../include -Wall -W -Wall -W -Wshadow 
-Wpointer-arith -Wmissing-prototypes            -Wundef 
-Wstrict-prototypes -g -Os -falign-jumps=1 -falign-loops=1 
-falign-functions=1 -fno-builtin -mrtd -mregparm=3 -c -o 
hfs_mod-fs_hfs.o ../fs/hfs.c
../fs/hfs.c: In function `grub_hfs_find_node':
../fs/hfs.c:527: warning: no previous prototype for `node_found'
../fs/hfs.c: At top level:
../fs/hfs.c:582: warning: no previous prototype for 
`grub_hfs_iterate_dir'
../fs/hfs.c: In function `grub_hfs_iterate_dir':
../fs/hfs.c:592: warning: no previous prototype for `node_found'
../fs/hfs.c:613: warning: no previous prototype for `it_dir'
../fs/hfs.c: In function `grub_hfs_dir':
../fs/hfs.c:727: warning: no previous prototype for `dir_hook'


Marco, can you fix them?

Okuji




reply via email to

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