diff options
| author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-03 20:56:22 +0000 | 
|---|---|---|
| committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-03 20:56:22 +0000 | 
| commit | 76a6e674dcc99316839e64af6262dee504fd1b54 (patch) | |
| tree | f0e8c65e787de4d8629a814f63958c000e5b164f /gcc/objc/objc-act.c | |
| parent | 72f3368f4dd49c93db258b32a2198b904a24e60d (diff) | |
| download | ppe42-gcc-76a6e674dcc99316839e64af6262dee504fd1b54.tar.gz ppe42-gcc-76a6e674dcc99316839e64af6262dee504fd1b54.zip | |
	* c-common.c (c_common_lang_init): New function.  Warn if format
	warning options which only have effects when used with -Wformat
	are used without -Wformat.
	* c-common.h (c_common_lang_init): Declare.
	* c-lang.c (lang_init): Call c_common_lang_init.
	* objc/objc-act.c (lang_init): Call c_common_lang_init.
cp:
	* lex.c (lang_init): Call c_common_lang_init.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38672 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/objc/objc-act.c')
| -rw-r--r-- | gcc/objc/objc-act.c | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index 5b6e33a8508..99f2d23055c 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -1,6 +1,6 @@  /* Implement classes and message passing for Objective C.     Copyright (C) 1992, 1993, 1994, 1995, 1997, 1998, -   1999, 2000 Free Software Foundation, Inc. +   1999, 2000, 2001 Free Software Foundation, Inc.     Contributed by Steve Naroff.  This file is part of GNU CC. @@ -704,6 +704,8 @@ lang_init ()       not to be built in.  */    lineno = 0; +  c_common_lang_init (); +    /* If gen_declaration desired, open the output file.  */    if (flag_gen_declaration)      { | 

