On 24 July 2015 at 15:00, Tim Northover <t.p.northover at gmail.com> wrote:> GCC seems to be stricter than Clang about the ordering of > __attribute__ (from _LIBUNWIND_EXPORT) and 'extern "C"'.Humpf, that seems to be an old thing. GCC 5.1 on my laptop cope with that just fine. :( thanks! --renato
On 24 July 2015 at 07:51, Renato Golin <renato.golin at linaro.org> wrote:> On 24 July 2015 at 15:00, Tim Northover <t.p.northover at gmail.com> wrote: >> GCC seems to be stricter than Clang about the ordering of >> __attribute__ (from _LIBUNWIND_EXPORT) and 'extern "C"'. > > Humpf, that seems to be an old thing. GCC 5.1 on my laptop cope with > that just fine. :(That's weird. My gcc 5.2 rejects it. Don't think I've got a 5.1 hanging around any more. Tim.
On 24 July 2015 at 16:01, Tim Northover <t.p.northover at gmail.com> wrote:> That's weird. My gcc 5.2 rejects it. Don't think I've got a 5.1 > hanging around any more.Ha! My bad, EHABI wasn't compiled on x86_64. :) So, yes, gcc doesn't like it. But Clang likes either way. I'll send a review to flip the order. This one seems to be the only occurrence. cheers, --renato