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: 3.2 PATCH: Major Solaris 2 configuration cleanup (take 2)


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).


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