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

Lukas Zobernig <lukas.zobernig at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|std                         |Including <optional> yields
                   |                            |error for c++26 when
                   |                            |compiled freestanding

--- Comment #1 from Lukas Zobernig <lukas.zobernig at gmail dot com> ---
Compiling a source file containing "#include <optional>" with "-std=c++26
-ffreestanding" compiler flags yields an "error: 'range_format' does not name a
type". Compiling the same file with "-std=c++23 -ffreestanding" works.

Reply via email to