This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: squelch 120+ complaints about missing initializers
- To: gcc-patches at gcc dot gnu dot org
- Subject: Re: squelch 120+ complaints about missing initializers
- From: "Zack Weinberg" <zackw at Stanford dot EDU>
- Date: Thu, 22 Mar 2001 11:17:12 -0800
- References: <20010227222142.N27567@wolery.stanford.edu>
On Tue, Feb 27, 2001 at 10:21:42PM -0800, Zack Weinberg wrote:
>
> * gcc.c, cp/lang-specs.h, f/lang-specs.h, java/lang-specs.h,
> objc/lang-specs.h: Add zero initializer for cpp_spec field to
> all array elements.
> * cp/lang-specs.h: Don't put an #ifdef inside the initializer
> list; set a default for CPLUSPLUS_CPP_SPEC and use it.
I have now applied this patch to the gcc 3.0 branch.
zw