[wwwdocs] C++03 missing on https://gcc.gnu.org/projects/cxx-status.html

Jonathan Wakely jwakely.gcc@gmail.com
Thu Dec 15 20:09:53 GMT 2022


On Thu, 15 Dec 2022, 20:04 Jonathan Wakely, <jwakely.gcc@gmail.com> wrote:

>
>
> On Thu, 15 Dec 2022, 19:50 U.Mutlu, <um@mutluit.com> wrote:
>
>> Jakub Jelinek wrote on 12/15/22 17:59:
>> > On Thu, Dec 15, 2022 at 05:53:19PM +0100, U.Mutlu wrote:
>> >> On this page all ISO C++ standards versions of gcc/g++ are listed,
>> except C++03:
>> >> https://gcc.gnu.org/projects/cxx-status.html
>> >>
>> >> This looks much like an error/omission b/c g++ has the options
>> -std=c++03
>> >> and -std=gnu++03
>> >
>> > C++03 isn't a separate standard version, just technical corrigendum
>> > and the page mentions it:
>> >
>> > C++98 Support in GCC
>> > GCC has full support for the 1998 C++ standard as modified by the 2003
>> > technical corrigendum
>> >
>> > -std=c++03 is an alias to -std=c++98 and -std=gnu++03 is an alias to
>> > -std=gnu++98 and the gcc manual explains that.
>> >
>> >       Jakub
>>
>>
>> Whatever, but they still could list it like the others and then give the
>> explanation you gave.
>> B/c otherwise it looks like as if the doc writer has forgotten one of the
>> historic steps...
>>
>
> I disagree. If you actually know what the -std=c++03 option means, you
> wouldn't think that. And it already says GCC had full support for C++ 1998
> *including the 2003 Technical Corrigendum*.
>
> The document doesn't need to be clear to people who have no idea what C++
> is, or what the gcc options mean, because that's not the audience it's
> intended for
>


We could add "The options -std=c++03 and -std=gnu++03 are equivalent to
-std=c++98 and -std=gnu++98, respectively." To the very end. That would not
be as misleading as adding a separate artificial listing for C++03.


More information about the Gcc mailing list