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: Type safe vector API


On Tue, Jun 29, 2004 at 11:29:46AM -0400, Andrew Pinski wrote:
> > 
> > I can no longer bootstrap after this patch.  It's because
> >  ~0u is not necessarily as wide as size_t.
> > 
> > With this patch I can bootstrap:
> 
> But it is wrong as ll is a C99 but not C90.  I cannot remember
> if ul is C90 though.

How about using ~ (size_t) 0 instead of ~0u then?

	Jakub


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