Message ID | 20220110121936.2330460-1-jwakely@redhat.com |
---|---|
State | New |
Headers | show |
Series | [committed] libstdc++: Update default -std option in manual | expand |
diff --git a/libstdc++-v3/doc/xml/manual/using.xml b/libstdc++-v3/doc/xml/manual/using.xml index 65fde4609db..36b86702d22 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>-std</option> option passed to the compiler. By default, <command>g++</command> is equivalent to - <command>g++ -std=gnu++14</command> since GCC 6, and + <command>g++ -std=gnu++17</command> since GCC 11, and + <command>g++ -std=gnu++14</command> in GCC 6, 7, 8, 9, and 10, and <command>g++ -std=gnu++98</command> for older releases. </para>