tags 778116 +patch thanks gcc5 implements C99 standard by default, which defaults "inline" functions to be external, unless otherwise specified. Fixed by specifying "static inline" for "scale" function, which is not externally linkable.
--- shell-fm-0.7+git20100414.orig/source/play.c +++ shell-fm-0.7+git20100414/source/play.c @@ -79,7 +79,7 @@ struct stream { #ifndef EXTERN_ONLY static enum mad_flow input(void *, struct mad_stream *); static enum mad_flow output(void *, const struct mad_header *, struct mad_pcm *); -inline signed scale(mad_fixed_t); +static inline signed scale(mad_fixed_t); static int timed_read(int, unsigned char *, int, int); #endif @@ -535,7 +535,7 @@ static enum mad_flow output( } #endif -inline signed scale(register mad_fixed_t sample) { +static inline signed scale(register mad_fixed_t sample) { sample += (1L << (MAD_F_FRACBITS - 16)); if(sample >= MAD_F_ONE) -- Brett Johnson <br...@hp.com> "Rudeness is the weak man's imitation of strength." ~~ Eric Hoffer -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org