From 57916f6118b41fd3fd3284100e1945ea98005911 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Sun, 22 Nov 1992 21:22:32 +0000 Subject: [PATCH] (c_decode_option): Decode -Wreturn-type. From-SVN: r2772 --- gcc/c-decl.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 2290bffd18c..23762cb3720 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -627,6 +627,10 @@ c_decode_option (p) warn_parentheses = 1; else if (!strcmp (p, "-Wno-parentheses")) warn_parentheses = 0; + else if (!strcmp (p, "-Wreturn-type")) + warn_return_type = 1; + else if (!strcmp (p, "-Wno-return-type")) + warn_return_type = 0; else if (!strcmp (p, "-Wcomment")) ; /* cpp handles this one. */ else if (!strcmp (p, "-Wno-comment")) -- 2.30.2