Bug#777862: Patch for GCC 5 build issue
Thanks for the patch! It has been included upstream, but no new version of gbsplay has been released yet: https://github.com/mmitch/gbsplay/commit/71acdd75a662d6b98bf8837c8578a498d9fee278 Regards Christian -- Christian.Garbs.http://www.cgarbs.de In related wibbling, I can see an opening for the four lusers of the Apocalypse... I didn't change anything, My e-mail doesn't work, I can't print and Is the network broken?. -- Paul Mc Auley -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#777862: Patch for GCC 5 build issue
tags 777862 + patch thanks Here's a fix for the GCC 5 build issue. I added extern to the callable copy of the inline function to ensure an externally visible function is emitted, please see section Different semantics for inline functions at https://gcc.gnu.org/gcc-5/porting_to.html for more background. -- Greg Pearson Linux for HP Helion --- a/util.c 2015-07-06 22:33:42.535440467 + +++ b/util.c 2015-07-06 22:33:25.575439874 + @@ -10,7 +10,7 @@ #include stdlib.h -inline long rand_long(long max) +extern inline long rand_long(long max) /* return random long from [0;max[ */ { return (long) (((double)max)*rand()/(RAND_MAX+1.0));