]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
doc: small tweak
authorJason Merrill <jason@redhat.com>
Sun, 10 Dec 2023 19:20:32 +0000 (14:20 -0500)
committerJason Merrill <jason@redhat.com>
Sun, 10 Dec 2023 19:20:32 +0000 (14:20 -0500)
Mention Objective-C++ here to be consistent with the surrounding C/ObjC
lines.

gcc/ChangeLog:

* doc/invoke.texi (-fpermissive): Mention ObjC++ for -Wnarrowing.

gcc/doc/invoke.texi

index d4e689b64c010609ca3bea3187025fb4192eb4c6..15f3a86e7688fd2b8dcb2c8f2ecee1c9a246d964 100644 (file)
@@ -6246,7 +6246,7 @@ that have their own flag:
 -Wimplicit-int @r{(C and Objective-C only)}
 -Wincompatible-pointer-types @r{(C and Objective-C only)}
 -Wint-conversion @r{(C and Objective-C only)}
--Wnarrowing @r{(C++)}
+-Wnarrowing @r{(C++ and Objective-C++ only)}
 -Wreturn-mismatch @r{(C and Objective-C only)}
 }