From: Jonathan Wakely Date: Mon, 10 Jan 2022 11:23:12 +0000 (+0000) Subject: libstdc++: Update default -std option in manual X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e1b8a91e470358261862e44d23b16eee2203ef92;p=test_jj.git libstdc++: Update default -std option in manual libstdc++-v3/ChangeLog: * doc/xml/manual/using.xml: Update documentation around default -std option. * doc/html/*: Regenerate. --- diff --git a/libstdc++-v3/doc/html/index.html b/libstdc++-v3/doc/html/index.html index d21efe5..b0c94da 100644 --- a/libstdc++-v3/doc/html/index.html +++ b/libstdc++-v3/doc/html/index.html @@ -1,6 +1,6 @@ -The GNU C++ Library

The GNU C++ Library

Short Contents

- Copyright (C) 2008-2021 +The GNU C++ Library

The GNU C++ Library

Short Contents

+ Copyright (C) 2008-2022 FSF

diff --git a/libstdc++-v3/doc/html/manual/using.html b/libstdc++-v3/doc/html/manual/using.html index 140896b..641a08c 100644 --- a/libstdc++-v3/doc/html/manual/using.html +++ b/libstdc++-v3/doc/html/manual/using.html @@ -11,7 +11,8 @@ The standard library conforms to the dialect of C++ specified by the -std option passed to the compiler. By default, g++ is equivalent to - g++ -std=gnu++14 since GCC 6, and + g++ -std=gnu++17 since GCC 11, and + g++ -std=gnu++14 in GCC 6, 7, 8, 9, and 10, and g++ -std=gnu++98 for older releases.

Table 3.1. C++ Command Options

Option FlagsDescription
-std=c++98 or -std=c++03 Use the 1998 ISO C++ standard plus amendments.
-std=gnu++98 or -std=gnu++03 diff --git a/libstdc++-v3/doc/xml/manual/using.xml b/libstdc++-v3/doc/xml/manual/using.xml index 65fde46..36b8670 100644 --- a/libstdc++-v3/doc/xml/manual/using.xml +++ b/libstdc++-v3/doc/xml/manual/using.xml @@ -16,7 +16,8 @@ The standard library conforms to the dialect of C++ specified by the option passed to the compiler. By default, g++ is equivalent to - g++ -std=gnu++14 since GCC 6, and + g++ -std=gnu++17 since GCC 11, and + g++ -std=gnu++14 in GCC 6, 7, 8, 9, and 10, and g++ -std=gnu++98 for older releases.