Thread

Commits

  1. Rename C23 keyword

  1. Rename C23 keyword

    Peter Eisentraut <peter@eisentraut.org> — 2024-08-06T08:04:27Z

    constexpr is a keyword in C23.  Rename a conflicting identifier for
    future-proofing.
    
    Obviously, C23 is way in the future, but this is a hard error that 
    prevents any further exploration.  (To be clear: This only happens if 
    you explicitly select C23 mode.  I'm not aware of a compiler where this 
    is the default yet.)
    
    
  2. Re: Rename C23 keyword

    Robert Haas <robertmhaas@gmail.com> — 2024-08-06T14:00:34Z

    On Tue, Aug 6, 2024 at 4:04 AM Peter Eisentraut <peter@eisentraut.org> wrote:
    > constexpr is a keyword in C23.  Rename a conflicting identifier for
    > future-proofing.
    >
    > Obviously, C23 is way in the future, but this is a hard error that
    > prevents any further exploration.  (To be clear: This only happens if
    > you explicitly select C23 mode.  I'm not aware of a compiler where this
    > is the default yet.)
    
    This seems fine.
    
    -- 
    Robert Haas
    EDB: http://www.enterprisedb.com
    
    
    
    
  3. Re: Rename C23 keyword

    Peter Eisentraut <peter@eisentraut.org> — 2024-08-13T04:29:22Z

    On 06.08.24 16:00, Robert Haas wrote:
    > On Tue, Aug 6, 2024 at 4:04 AM Peter Eisentraut <peter@eisentraut.org> wrote:
    >> constexpr is a keyword in C23.  Rename a conflicting identifier for
    >> future-proofing.
    >>
    >> Obviously, C23 is way in the future, but this is a hard error that
    >> prevents any further exploration.  (To be clear: This only happens if
    >> you explicitly select C23 mode.  I'm not aware of a compiler where this
    >> is the default yet.)
    > 
    > This seems fine.
    
    committed