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]

Re: [build, ada] Allow Solaris bootstrap with C++ (PR bootstrap/49794)


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


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