Rename C23 keyword

Поиск
Список
Период
Сортировка
Искать

Rename C23 keyword

От:
Peter Eisentraut <peter@eisentraut.org>
Дата:
Вложения:
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.)

Re: Rename C23 keyword

От:
Robert Haas <robertmhaas@gmail.com>
Дата:
On Tue, Aug 6, 2024 at 4:04 AM Peter Eisentraut  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


Re: Rename C23 keyword

От:
Peter Eisentraut <peter@eisentraut.org>
Дата:
On 06.08.24 16:00, Robert Haas wrote:
> On Tue, Aug 6, 2024 at 4:04 AM Peter Eisentraut  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



FAQ