--- ChangeLog | 4 ++++ src/lexi.c | 6 ++++++ 2 files changed, 10 insertions(+)
diff --git a/ChangeLog b/ChangeLog index bb7ea63..5c0b3d7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2015-06-13 Tim Hentenaar <t...@hentenaar.com> + * lexi.c: Fix a compilation error related to the presence of + the __gnu_inlne__ attribute on the functions in gperf.c/gperf-cc.c + 2014-04-07 Andrew Shadura <and...@shadura.me> * Don't add extra 'const' keyword to C++ programs (closes Debian bugs #507173 and #349065). diff --git a/src/lexi.c b/src/lexi.c index 19e9059..89d469a 100644 --- a/src/lexi.c +++ b/src/lexi.c @@ -207,6 +207,9 @@ int main (void) /* Include code generated by gperf */ #ifdef __GNUC__ __inline +#ifdef __GNUC_STDC_INLINE__ +__attribute__ ((__gnu_inline__)) +#endif #endif templ_ty *is_reserved (const char *str, unsigned int len); @@ -221,6 +224,9 @@ templ_ty *is_reserved (const char *str, unsigned int len); #ifdef __GNUC__ __inline +#ifdef __GNUC_STDC_INLINE__ +__attribute__ ((__gnu_inline__)) +#endif #endif templ_ty *is_reserved_cc (register const char *str, register unsigned int len); -- 2.3.6 _______________________________________________ bug-indent mailing list bug-indent@gnu.org https://lists.gnu.org/mailman/listinfo/bug-indent