From fa99f7d12b87f36d3c38349fcdcfca074564858d Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Sun, 10 Dec 2023 14:20:32 -0500 Subject: [PATCH] doc: small tweak To: gcc-patches@gcc.gnu.org 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index d4e689b64c0..15f3a86e768 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -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)} } -- 2.39.3