This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 3.2 PATCH: Major Solaris 2 configuration cleanup (take 2)
- From: "David O'Brien" <obrien at NUXI dot com>
- To: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 27 Jun 2002 14:16:54 -0700
- Subject: Re: 3.2 PATCH: Major Solaris 2 configuration cleanup (take 2)
- Organization: The NUXI BSD group
- References: <15632.29844.971199.885868@xayide.TechFak.Uni-Bielefeld.DE>
- Reply-to: obrien at NUXI dot com
On Wed, Jun 19, 2002 at 02:09:56PM +0200, Rainer Orth wrote:
> Index: gcc/config/sol2.h
> ===================================================================
...
> +/* Solaris 2 (at least as of 2.5.1) uses a 32-bit wchar_t. */
> +#undef WCHAR_TYPE
> +#define WCHAR_TYPE "long int"
> +
> +#undef WCHAR_TYPE_SIZE
> +#define WCHAR_TYPE_SIZE 32
> +
> +/* Solaris 2 uses a wint_t different from the default. This is required
> + by the SCD 2.4.1, p. 6-83, Figure 6-66. */
> +#undef WINT_TYPE
> +#define WINT_TYPE "long int"
> +
> +#undef WINT_TYPE_SIZE
> +#define WINT_TYPE_SIZE 32
Are all the #undef's needed? Would you be willing to reduce the #undef's
to the minimal needed? It really helps configury clean ups (and find
regressions).