[PATCH v2 4/6] compiler-gcc.h: add asm_inline definition
Miguel Ojeda
miguel.ojeda.sandonis@gmail.com
Thu Sep 5 16:13:00 GMT 2019
On Thu, Sep 5, 2019 at 5:52 PM Miguel Ojeda
<miguel.ojeda.sandonis@gmail.com> wrote:
>
> Yes and no. GNU libc defines feature test macros like you say, but
> C++'s feature macros are like Rasmus/Nick are saying. I think libc's
> definition is weird, I would call those "feature selection macros"
> instead, because the user is selecting between some features (whether
> to enable or not, for instance), rather than testing for the features.
By the way, this is not to criticize libc, I imagine they employed that
nomenclature since that is what some standards used, but still, the
naming is not great from the users' perspective vs. the header
writer's perspective, IMO.
Cheers,
Miguel
More information about the Gcc-patches
mailing list