tags 777837 + patch
thanks
Here's a fix for the GCC 5 build issue. I added "extern" to
inline function in jcode.c. The package builds and links with GCC 5 with
this change.
Upstream may prefer to move to C99 instead, please see section
"Different semantics for inline functions" at
https://gcc.gnu.org/gcc-5/porting_to.html for more background.
--
Nicholas Luedtke
Linux for HP Helion OpenStack, Hewlett-Packard
--- ebview-0.3.6.2/src/jcode.c 2015-07-15 18:49:36.866726205 +0000
+++ jcode.c 2015-07-15 18:48:09.530726966 +0000
@@ -275,7 +275,7 @@
return(result);
}
-inline gboolean isjisp(const gchar *buff){
+extern inline gboolean isjisp(const gchar *buff){
g_assert(buff != NULL);
if((buff[0] >= 0x21) && (buff[0] <= 0x74) &&