This is the mail archive of the
mailing list for the GCC project.
- To: Michael Meissner <meissner at cygnus dot com>, Richard Henderson <rth at cygnus dot com>
- Subject: Re: __LONG_MAX__
- From: Gavin Romig-Koch <gavin at cygnus dot com>
- Date: Thu, 3 Sep 1998 01:36:35 -0400 (EDT)
- Cc: egcs at cygnus dot com, egcs-patches at cygnus dot com
- References: <m0zEJ4b-000sBJC@cetus.cygnus.com><19980902144558.D16848@dot.cygnus.com><19980902173035.A3103@tiktok.cygnus.com>
Oh, of course, there is no requirement that the integer types have
the same size (or even the same representation) in the preprocessor.
Michael Meissner writes:
> This is because sizeof (even of fundamental types) is not available to the
It didn't use "sizeof", though the effect is the same.
Richard Henderson writes:
> One large one -- __LONG_MAX__ can no longer be used in cpp conditionals.
Well, it would be valid to use it in cpp conditionals, but it wouldn't
necessarly have the same value inside and outside of cpp conditionals
(which would not be "a good thing").