This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Allow 64bit warnings on 32bit targets
On Fri, Dec 19, 2003 at 08:47:16PM +0100, Falk Hueffner wrote:
> Andi Kleen <ak@muc.de> writes:
>
> > Valid point. I guess it would be better if it checked for the target
> > type not being long (I think that would cover it). I will submit a new
> > patch with that change.
>
> IIRC, size_t is typedefed to "unsigned int" on i386 at least with c++,
> so that will not work.
But that could be changed to long without problems, right?
It will also not work for Win64 with 32bit long, but that is out of
scope for the patch :-) I don't think gcc has any maintained Win64 ports
anyways.
-Andi