[SeaBIOS] [PATCH] fix inline build warning

Lin Ming ming.m.lin at intel.com
Wed Dec 29 05:18:46 CET 2010


On Wed, 2010-12-29 at 12:09 +0800, Kevin O'Connor wrote:
> 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?

# gcc --version
gcc (Debian 4.3.2-1.1) 4.3.2

> 
> -Kevin





More information about the SeaBIOS mailing list