aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2023-01-28 09:38:23 +0000
committerIain Sandoe <iain@sandoe.co.uk>2023-01-28 13:22:10 +0000
commitfe4608efc15b881ac908a3f90d7322736495ae72 (patch)
treef086f754a37813bb6bf98bd5b30598d0f9c799be
parent191c1e7bc7bab2da39679ce3e074f0fbb5f906b3 (diff)
downloadgcc-fe4608efc15b881ac908a3f90d7322736495ae72.zip
gcc-fe4608efc15b881ac908a3f90d7322736495ae72.tar.gz
gcc-fe4608efc15b881ac908a3f90d7322736495ae72.tar.bz2
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 <iain@sandoe.co.uk> gcc/m2/ChangeLog: * lang.opt: Claim Wreturn-type.
-rw-r--r--gcc/m2/lang.opt4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/m2/lang.opt b/gcc/m2/lang.opt
index ab4ea55..b6ef816 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