This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bug bootstrap/56714


The same error appears on NetBSD 6.99.19 because __always_inline
is already defined without the inline keyword in sys/cdefs.h. 
Including the inline keyword in the macro wouldn't work if the macro
is used at the very end of a declaration like in:
inline void foo (const char) __always_inline;

To compile this I just declared 

#define __inline__always_inline  inline __attribute__((always_inline))

and changed every occurence of __always_inline with __inline_always_inline.

Kai-Uwe


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]