projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
191c1e7
)
Modula-2: Claim Wreturn-type in lang.opt.
author
Iain Sandoe
<iain@sandoe.co.uk>
Sat, 28 Jan 2023 09:38:23 +0000
(09:38 +0000)
committer
Iain 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
patch
|
blob
|
history
diff --git
a/gcc/m2/lang.opt
b/gcc/m2/lang.opt
index
ab4ea55
..
b6ef816
100644
(file)
--- 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