Modula-2: Claim Wreturn-type in lang.opt.
authorIain Sandoe <iain@sandoe.co.uk>
Sat, 28 Jan 2023 09:38:23 +0000 (09:38 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Sat, 28 Jan 2023 13:22:10 +0000 (13:22 +0000)
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.

gcc/m2/lang.opt

index ab4ea55..b6ef816 100644 (file)
@@ -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