Lisandro Dalcin <[email protected]> writes:

> On 13 April 2015 at 17:45, Jed Brown <[email protected]> wrote:
>> Of course not every compiler defines it, so that's why we check:
>
> What I meant is the following: assume you are using a not so old GCC
> version that supports __attribute__((something)) however it does not
> support the __has_attribute(something) in the preprocessor. Then we
> will endup not using the attribute despite the compiler actually
> supporting it.

That is true, so we have to live with configure tests for important
attributes at this time.  We might be able to phase some of them out in
the future, and some new attributes can be tested using __has_attribute.

Attachment: signature.asc
Description: PGP signature

Reply via email to