On Fri 30 May 2014 12:09:49 Pedro Alves wrote: > On 05/14/2014 03:31 AM, Masaki Muranaka wrote: > > By differences about inline function, we can't build simulators on Clang. > > The difference is probably that Clang defaults to C99. > You should probably be using CC="clang -std=gnu89". > > Patchwise, please try using __attribute__ ((gnu_inline)). yeah i'm not a fan of sprinkling __clang__ everywhere. i'm aware that there's a bunch of __GNUC__ in there, but those should get cleaned up/centralized rather than expanded. a quick glance shows that there's already cases where that can happen (like moving to ATTRIBUTE_NORETURN). -mike