Bug#778109: s51dude: ftbfs with GCC-5

2015-07-23 Thread gregor herrmann
On Thu, 23 Jul 2015 16:14:41 -0600, Brett Johnson wrote: > > Unfortunately the patch introduces a FTBFS with gcc 4.9: > D'oh! I was sloppy and did not test, nor read the standards thoroughly. > My apologies :(. Given that the function is implemented in a single "c" file, > but used in > multiple

Bug#778109: s51dude: ftbfs with GCC-5

2015-07-23 Thread Brett Johnson
tags 778109 +patch thanks > Unfortunately the patch introduces a FTBFS with gcc 4.9: D'oh! I was sloppy and did not test, nor read the standards thoroughly. My apologies :(. Given that the function is implemented in a single "c" file, but used in multiple places, the C89 and C99 standards seem t

Bug#778109: s51dude: ftbfs with GCC-5

2015-07-23 Thread gregor herrmann
Control: tag -1 - patch On Thu, 23 Jul 2015 15:33:48 -0600, Brett Johnson wrote: > tags 778109 +patch > thanks > > GCC5 defaults to the C99 standard, which changes inline function semantics. > This patch fixes the FTBFS by declaring the print_error function explicitly > extern, since it's called

Bug#778109: s51dude: ftbfs with GCC-5

2015-07-23 Thread Brett Johnson
tags 778109 +patch thanks GCC5 defaults to the C99 standard, which changes inline function semantics. This patch fixes the FTBFS by declaring the print_error function explicitly extern, since it's called from multiple source files. --- s51dude-0.3.1.orig/s51dude.c +++ s51dude-0.3.1/s51dude.c @@ -