public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-5473] Modula-2: Claim Wreturn-type in lang.opt.
@ 2023-01-28 13:22 Iain D Sandoe
0 siblings, 0 replies; only message in thread
From: Iain D Sandoe @ 2023-01-28 13:22 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:fe4608efc15b881ac908a3f90d7322736495ae72
commit r13-5473-gfe4608efc15b881ac908a3f90d7322736495ae72
Author: Iain Sandoe <iain@sandoe.co.uk>
Date: Sat Jan 28 09:38:23 2023 +0000
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.
Diff:
---
gcc/m2/lang.opt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/gcc/m2/lang.opt b/gcc/m2/lang.opt
index ab4ea5547eb..b6ef8161d90 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-01-28 13:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-28 13:22 [gcc r13-5473] Modula-2: Claim Wreturn-type in lang.opt Iain D Sandoe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).