[SeaBIOS] [PATCH] fix inline build warning

Kevin O'Connor kevin at koconnor.net
Wed Dec 29 05:09:07 CET 2010


On Wed, Dec 29, 2010 at 10:16:34AM +0800, Lin Ming wrote:
> # make
>   Working around non-functional -combine
>   Compiling whole program out/ccode.16.s
> In file included from out/ccode.16.s.tmp.c:5:
> out/../src/util.h:204: warning: ‘memcpy_fl’ declared inline after being called
> out/../src/util.h:204: warning: previous declaration of ‘memcpy_fl’ was here
>   Compiling (16bit) out/code16.o
>   Compiling whole program out/ccode32flat.o
> In file included from out/ccode32flat.o.tmp.c:5:
> out/../src/util.h:204: warning: ‘memcpy_fl’ declared inline after being called
> out/../src/util.h:204: warning: previous declaration of ‘memcpy_fl’ was here
>   Compiling whole program out/code32seg.o

This is usually an indicator of an old compiler.  What gcc version are
you using?

-Kevin



More information about the SeaBIOS mailing list