This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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] |
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
Attachment:
signature.asc
Description: This is a digitally signed message part.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |