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);
 %}
 %%



--
Stop press! Just announced -

Most Trusted Broadband Provider in the 2014 Moneywise Customer Services Awards

For full details of see https://www.utilitywarehouse.co.uk/reviews?exref=095761
<https://www.utilitywarehouse.co.uk/reviews?exref=095761>

Intrigued? Call me

John Ballance C.Eng MIET - j...@macpcrepair.co.uk - 07976 295923

_______________________________________________
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