Article View: gnu.gcc.bug
Article #440Re: gcc 2.1 spurious warning for "-Wno-import" -- second part to patch
From: Douglas Scott
Date: Thu, 16 Apr 1992 16:10
Date: Thu, 16 Apr 1992 16:10
22 lines
1248 bytes
1248 bytes
I forgot that there are two parts to this patch. Here is the part that fixes the same bug
in the g++ portion of the compiler (the objc part is fixed my the gcc fix).
*** cp-decl2.c.orig Wed Apr 15 14:12:01 1992
--- cp-decl2.c Wed Apr 15 14:13:12 1992
***************
*** 448,453 ****
--- 448,455 ----
; /* cpp handles this one. */
else if (!strcmp (p, "trigraphs"))
; /* cpp handles this one. */
+ else if (!strcmp (p, "import"))
+ ; /* cpp handles this one. */
else if (!strcmp (p, "all"))
{
extra_warnings = setting;
---
Douglas Scott (805)893-8352
Center for Computer Music Research and Composition
University of California, Santa Barbara
Internet: (NeXTMail ok) <doug@foxtrot.ccmrc.ucsb.edu>
Technical Details
Message-ID:
<9204161610.AA24454@_foxtrot.ccmrc.ucsb.edu_>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!foxtrot.ccmrc.ucsb.edu!dougShow Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!foxtrot.ccmrc.ucsb.edu!doug From: doug@foxtrot.ccmrc.ucsb.edu (Douglas Scott) Subject: Re: gcc 2.1 spurious warning for "-Wno-import" -- second part to patch Message-ID: <9204161610.AA24454@_foxtrot.ccmrc.ucsb.edu_> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Thu, 16 Apr 1992 16:10:45 GMT Approved: bug-gcc@prep.ai.mit.edu Lines: 23