From: Richard Stallman Date: Sun, 22 Nov 1992 21:22:32 +0000 (+0000) Subject: (c_decode_option): Decode -Wreturn-type. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=57916f6118b41fd3fd3284100e1945ea98005911;p=gcc.git (c_decode_option): Decode -Wreturn-type. From-SVN: r2772 --- 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"))