From: "Yoshinori K. Okuji" <okuji@enbug.org>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: warnings when compiling minix and hfs
Date: Sat, 21 Aug 2004 13:56:47 +0200 [thread overview]
Message-ID: <200408211356.47603.okuji@enbug.org> (raw)
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
next reply other threads:[~2004-08-21 13:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-21 11:56 Yoshinori K. Okuji [this message]
2004-08-21 14:32 ` warnings when compiling minix and hfs Marco Gerards
2004-08-24 19:15 ` metgerards
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200408211356.47603.okuji@enbug.org \
--to=okuji@enbug.org \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.