From: Iain Sandoe Date: Sat, 28 Jan 2023 09:38:23 +0000 (+0000) Subject: Modula-2: Claim Wreturn-type in lang.opt. X-Git-Tag: basepoints/gcc-14~1734 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe4608efc15b881ac908a3f90d7322736495ae72;p=thirdparty%2Fgcc.git Modula-2: Claim Wreturn-type in lang.opt. Modula-2 handles this warning so that we need to claim it in the language options. Signed-off-by: Iain Sandoe gcc/m2/ChangeLog: * lang.opt: Claim Wreturn-type. --- diff --git a/gcc/m2/lang.opt b/gcc/m2/lang.opt index ab4ea5547eb1..b6ef8161d90d 100644 --- a/gcc/m2/lang.opt +++ b/gcc/m2/lang.opt @@ -269,6 +269,10 @@ Wpedantic Modula-2 ; Documented in common.opt +Wreturn-type +Modula-2 +; Documented in common.opt + Wunused-variable Modula-2 ; Documented in c.opt