On 19.02.2016 13:26, Jakub Jelinek wrote: > On Fri, Feb 19, 2016 at 01:22:12PM +0100, Jakub Jelinek wrote: >> wants the C inline __attribute__((gnu_inline)) semantics. >> IMHO gperf should be fixed to only use __attribute__((gnu_inline)) for C++. > > For C of course. > Thus emit > #ifndef __cplusplus > #if defined __GNUC_STDC_INLINE__ || defined __GNUC_GNU_INLINE__ > __attribute__ ((__gnu_inline__)) > #endif > #endif > or something similar. > > Jakub > Hmm... wait a moment. How about that? Berns.