https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92181

--- Comment #4 from Erich Erstu <hyena at hyena dot net.ee> ---
I also found out that when I try to populate a constexpr array using a trivial
constexpr function that passes on the argument initializer list then I get the
same error.

This does not work any more within the definition of a constexpr array:

constexpr room_desc_part_type make(
    ROOM_DESC_PART part, std::initializer_list<const char *> args
) {
    return
#if __cplusplus <= 201703L
    __extension__
#endif // __cplusplus
    room_desc_part_type{
        .index = part,
        .arguments = args
    };
}

Reply via email to