C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Second draft of a __COUNTER__ proposal

From: Jeremy Rifkin <rifkin.jer_at_[hidden]>
Date: Mon, 26 Aug 2024 12:49:25 -0500
> Just to point out, EDG also supports __COUNTER__ in GCC and Clang
emulation modes - it just isn't enabled in standards mode.

Thank you, I'm not very familiar with EDG. I didn't find anything in
the docs about this and even --no_strict_gnu didn't enable
__COUNTER__. How do I turn off standards mode?

Jeremy

On Mon, Aug 26, 2024 at 1:33 AM Christof Meerwald <cmeerw_at_[hidden]> wrote:
>
> On Sun, Aug 25, 2024 at 05:38:15PM -0500, Jeremy Rifkin via Std-Proposals wrote:
> > Hello,
> > I appreciate all the feedback on my paper the other day. I have
> > incorporated the feedback into a second draft elaborating on rationale
> > for standardization, ODR, and updating the overflow behavior to an
> > error: https://jeremy-rifkin.github.io/cpp-proposals/drafts/counter_draft_2.html.
>
> Just to point out, EDG also supports __COUNTER__ in GCC and Clang
> emulation modes - it just isn't enabled in standards mode.
>
> Does this really need a separate feature test macro when you can just
> test on __COUNTER__ itself?
>
>
> Christof
>
> --
>
> https://cmeerw.org sip:cmeerw at cmeerw.org
> mailto:cmeerw at cmeerw.org xmpp:cmeerw at cmeerw.org

Received on 2024-08-26 17:49:41