tags 777882 + patch
thanks

Here's a fix for the GCC 5 build issue.  I added "extern" to the callable
copy of the inline functions 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/xgnokii/xgnokii.c	2015-07-07 17:58:16.285881332 +0000
+++ b/xgnokii/xgnokii.c	2015-07-07 18:03:19.661891930 +0000
@@ -798,7 +798,7 @@
 }
 
 
-inline void GUI_HideAbout(void)
+extern inline void GUI_HideAbout(void)
 {
 	gtk_widget_hide(AboutDialog);
 }
diff -urN a/xgnokii/xgnokii_logos.c b/xgnokii/xgnokii_logos.c
--- a/xgnokii/xgnokii_logos.c	2015-07-07 17:58:40.145882166 +0000
+++ b/xgnokii/xgnokii_logos.c	2015-07-07 18:03:13.349891709 +0000
@@ -1303,7 +1303,7 @@
 	return 0;
 }
 
-inline void CloseLogosWindow(void)
+extern inline void CloseLogosWindow(void)
 {
 	gtk_widget_hide(GUI_LogosWindow);
 }

Reply via email to