From: Richard Kenner Date: Fri, 24 Jun 1994 20:19:17 +0000 (-0400) Subject: Add -W[no]-bad-function-cast. X-Git-Tag: misc/cutover-egcs-0~6379 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=289871f06fe076aec1257cb1f13d33a0a30dcaa7;p=thirdparty%2Fgcc.git Add -W[no]-bad-function-cast. From-SVN: r7564 --- diff --git a/gcc/toplev.c b/gcc/toplev.c index 31e3d198de30..f73a60adb070 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -589,6 +589,8 @@ char *lang_options[] = "-fno-short-enums", "-Wall", + "-Wbad-function-cast", + "-Wno-bad-function-cast", "-Wcast-qual", "-Wno-cast-qual", "-Wchar-subscripts",