All of lore.kernel.org
 help / color / mirror / Atom feed
* invalid storage class for some functions in grub_ls_list_files
@ 2005-04-26 21:40 Thorsten Hirsch
  2005-04-27 11:59 ` pjones
  2005-04-27 12:59 ` Marco Gerards
  0 siblings, 2 replies; 3+ messages in thread
From: Thorsten Hirsch @ 2005-04-26 21:40 UTC (permalink / raw)
  To: grub-devel

Hi,

I couldn't find much in the archive about that one, so here's a
compilation error of grub2 (gcc (GCC) 4.0.0 (Gentoo Linux 4.0.0)):

gcc -Icommands -I./commands -I. -Iinclude -I./include -Wall -W
-DGRUB_DATADIR=\"/opt/grub2/share/grub/i386-pc\" -g -O2 -DGRUB_UTIL=1
-c -o grub_emu-commands_ls.o commands/ls.c
commands/ls.c: In function 'grub_ls_list_files':
commands/ls.c:107: error: invalid storage class for function
'print_files'
commands/ls.c:115: error: invalid storage class for function
'print_files_long'
commands/ls.c: In function 'grub_cmd_ls':
commands/ls.c:223: error: invalid storage class for function
'grub_ls_print_files'
make: *** [grub_emu-commands_ls.o] Error 1


Regards,
Thorsten




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: invalid storage class for some functions in grub_ls_list_files
  2005-04-26 21:40 invalid storage class for some functions in grub_ls_list_files Thorsten Hirsch
@ 2005-04-27 11:59 ` pjones
  2005-04-27 12:59 ` Marco Gerards
  1 sibling, 0 replies; 3+ messages in thread
From: pjones @ 2005-04-27 11:59 UTC (permalink / raw)
  To: The development of GRUB 2

On Tue, 2005-04-26 at 23:40 +0200, Thorsten Hirsch wrote:
> Hi,
> 
> I couldn't find much in the archive about that one, so here's a
> compilation error of grub2 (gcc (GCC) 4.0.0 (Gentoo Linux 4.0.0)):
> 
> gcc -Icommands -I./commands -I. -Iinclude -I./include -Wall -W
> -DGRUB_DATADIR=\"/opt/grub2/share/grub/i386-pc\" -g -O2 -DGRUB_UTIL=1
> -c -o grub_emu-commands_ls.o commands/ls.c
> commands/ls.c: In function 'grub_ls_list_files':
> commands/ls.c:107: error: invalid storage class for function
> 'print_files'
> commands/ls.c:115: error: invalid storage class for function
> 'print_files_long'
> commands/ls.c: In function 'grub_cmd_ls':
> commands/ls.c:223: error: invalid storage class for function
> 'grub_ls_print_files'
> make: *** [grub_emu-commands_ls.o] Error 1

This means you've got nested functions declared "static".

-- 
        Peter




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: invalid storage class for some functions in grub_ls_list_files
  2005-04-26 21:40 invalid storage class for some functions in grub_ls_list_files Thorsten Hirsch
  2005-04-27 11:59 ` pjones
@ 2005-04-27 12:59 ` Marco Gerards
  1 sibling, 0 replies; 3+ messages in thread
From: Marco Gerards @ 2005-04-27 12:59 UTC (permalink / raw)
  To: The development of GRUB 2

Thorsten Hirsch <t.hirsch@web.de> writes:

> I couldn't find much in the archive about that one, so here's a
> compilation error of grub2 (gcc (GCC) 4.0.0 (Gentoo Linux 4.0.0)):

Thanks a lot for your report.  We figured out how to fix this, it just
that it needs to be checked in.  This has not yet been done yet
because of some non-technical problems.

--
Marco




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-04-27 13:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-26 21:40 invalid storage class for some functions in grub_ls_list_files Thorsten Hirsch
2005-04-27 11:59 ` pjones
2005-04-27 12:59 ` Marco Gerards

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.