Follow-up Comment #4, bugs #11808 (project grub):
Now building grub straight out of CVS with GCC 4.0, I get the following
error:
then mv -f ".deps/asmstub.Tpo" ".deps/asmstub.Po"; else rm -f
".deps/asmstub.Tpo"; exit 1; fi
asmstub.c:93: error: static declaration of 'console_current_color' follows
non-static declaration
../stage2/term.h:93: error: previous declaration of 'console_current_color'
was here
asmstub.c: In function 'grub_stage2':
asmstub.c:116: warning: type qualifiers ignored on function return type
asmstub.c:121: warning: function definition has qualified void return type
make[2]: *** [asmstub.o] Error 1
make[2]: Leaving directory `/sources/Misc/grub/grub'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sources/Misc/grub'
make: *** [all] Error 2
It's related to the static declaration of console_current_color variable
being modified later on in asmstub.c.
Haren Visavadia
_______________________________________________________
This item URL is:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=11808>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-grub mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-grub