tags 778114 +patch
thanks
gcc5 makes C99 standard default, which changes inline function
semantics, and usually breaks functions previously simply declared
"inline" without specifying static or extern.
screader has a rather large function "Auto_TTS" declared inline,
but which could not actually be inlined, as its declaration/
implementation is in a separate source file/translation unit from
its usage. This patch simply removes the "inline" directive from
the function to fix the FTBFS, and to be less confusing.
--- screader-1.8.orig/screader.c 2015-07-23 20:31:25.000000000 +0000
+++ screader-1.8/screader.c 2015-07-23 19:59:01.546529564 +0000
@@ -110,7 +110,7 @@
extern struct display *displays, *display;
extern struct layer BlankLayer;
extern void Init_TTS ();
-extern inline void Auto_TTS ();
+extern void Auto_TTS ();
/* tty.c */
extern int intrc;
diff -u screader-1.8.orig/tts.c screader-1.8/tts.c
--- screader-1.8.orig/tts.c 2015-07-23 20:31:25.000000000 +0000
+++ screader-1.8/tts.c 2015-07-23 19:59:16.142316235 +0000
@@ -369,7 +369,7 @@
* Auto_TTS - Reads screen and puts through to TTS if necessary. *
\***************************************************************/
-inline void Auto_TTS ()
+extern void Auto_TTS ()
{
int p, hlp;
--
Brett Johnson <[email protected]>
"Information technology and manure have a symbiotic relationship"
~~Chandrakant D. Patel, HP Labs director.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]