This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Remove warning from cp/lang-specs.h


The appended patch fixes this warning:
In file included from specs.h:1,
                 from /cvs/gcc/gcc/gcc.c:998:
/cvs/gcc/gcc/cp/lang-specs.h:58: warning: missing initializer
/cvs/gcc/gcc/cp/lang-specs.h:58: warning: (near initialization for `default_compilers[52].combinable')

Bootstrapped/regtested Linux/AMD64.  Ok to commit?

Andreas

2004-05-30  Andreas Jaeger  <aj@suse.de>

	* lang-specs.h: Add missing initializers for .ii.

============================================================
Index: gcc/cp/lang-specs.h
--- gcc/cp/lang-specs.h	5 Apr 2004 19:23:01 -0000	1.62
+++ gcc/cp/lang-specs.h	29 May 2004 22:29:54 -0000
@@ -1,6 +1,6 @@
 /* Definitions for specs for C++.
    Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000,
-   2001, 2002, 2003 Free Software Foundation, Inc.
+   2001, 2002, 2003, 2004 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
@@ -55,7 +55,7 @@ Boston, MA 02111-1307, USA.  */
 	%(cc1_options) %2 %{+e1*}\
        %{!fsyntax-only:%(invoke_as)}}}}",
      CPLUSPLUS_CPP_SPEC, 0, 0},
-  {".ii", "@c++-cpp-output", 0},
+  {".ii", "@c++-cpp-output", 0, 0, 0},
   {"@c++-cpp-output",
    "%{!M:%{!MM:%{!E:\
     cc1plus -fpreprocessed %i %(cc1_options) %2 %{+e*}\

-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SUSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]