This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Bug bootstrap/56714
- From: "Kai-Uwe Eckhardt" <kuehro at gmx dot de>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 29 Apr 2013 17:36:36 +0200 (CEST)
- Subject: Re: Bug bootstrap/56714
- Sensitivity: Normal
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