[MPlayer-dev-eng] fast_memcpy declaration in fastmemcpy.h

Pascal Haakmat a.haakmat at chello.nl
Tue May 28 08:55:51 CEST 2002


Hello,

I was curious about this...

GCC gives the warnings when compiling aclib.c with -Wall -O3:

lib/aclib.c:118: warning: `fast_memcpy' declared inline after being called
lib/aclib.c:157: warning: `mem2agpcpy' declared inline after being called

The warnings disappear when the declarations of fast_memcpy and mem2agpcpy
in fastmemcpy.h are changed from "extern" to "extern inline". 

In older versions (0.60) of MPlayer fast_memcpy used to be declared extern
inline, but not anymore. So why not?




More information about the MPlayer-dev-eng mailing list