This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [build, ada] Allow Solaris bootstrap with C++ (PR bootstrap/49794)
- From: Ian Lance Taylor <iant at google dot com>
- To: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- Cc: gcc-patches at gcc dot gnu dot org, Tom Tromey <tromey at redhat dot com>
- Date: Wed, 20 Jul 2011 11:09:48 -0700
- Subject: Re: [build, ada] Allow Solaris bootstrap with C++ (PR bootstrap/49794)
- References: <yddbowonc44.fsf@manam.CeBiTec.Uni-Bielefeld.DE>
Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes:
> diff --git a/libcpp/system.h b/libcpp/system.h
> --- a/libcpp/system.h
> +++ b/libcpp/system.h
> @@ -1,6 +1,6 @@
> /* Get common system includes and various definitions and declarations based
> on autoconf macros.
> - Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2009, 2010
> + Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2009, 2010, 2011
> Free Software Foundation, Inc.
>
> This file is part of GCC.
> @@ -353,8 +353,8 @@ extern void abort (void);
> compilers, including G++. -- gdr, 2005-05-18 */
> #if !defined(HAVE_DESIGNATED_INITIALIZERS)
> #define HAVE_DESIGNATED_INITIALIZERS \
> - ((!defined(__cplusplus) && (GCC_VERSION >= 2007)) \
> - || (__STDC_VERSION__ >= 199901L))
> + (!defined(__cplusplus) \
> + && ((GCC_VERSION >= 2007) || (__STDC_VERSION__ >= 199901L)))
> #endif
This is OK.
Thanks.
Ian