John Ballance wrote on Wednesday, October 28, 2015 7:31 PM:

There is also a mod required to the cfns.gperf file, which creates cfns.h,
to make the output in the cfns.h file consistent .. this is in recipe/patches/gcc
and is named gcc/cp/cfns.gperf

Again, I suspect, but cannot currently prove, this this will also be back compatible

Index: gcc/cp/cfns.gperf
===================================================================
--- gcc/cp/cfns.gperf    (revision 229481)
+++ gcc/cp/cfns.gperf    (working copy)
@@ -18,11 +18,25 @@
 <http://www.gnu.org/licenses/>.  */
#ifdef __GNUC__
__inline
+#else
+#ifdef __cplusplus
+inline
+#if defined __GNUC_STDC_INLINE__ || defined __GNUC_GNU_INLINE__
+__attribute__ ((__gnu_inline__))
#endif
+#endif
+#endif
static unsigned int hash (const char *, unsigned int);
#ifdef __GNUC__
__inline
+#if defined __GNUC_STDC_INLINE__ || defined __GNUC_GNU_INLINE__
+__attribute__ ((__gnu_inline__))
#endif
+#else
+#ifdef __cplusplus
+inline
+#endif
+#endif
const char * libc_name_p (const char *, unsigned int);
%}
%%

Hi, I independently applied this change to may Ubuntu 15.04 system
with GCC 4.9.2 and I can now cross compile on this machine. Can
someone add this one to the GCCSDK?

Regards,
Alan

_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK

Reply via email to