This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [Prec/RFA] fix build error of prec in cygwin


> Date: Thu, 21 May 2009 23:05:45 -0700
> From: Joel Brobecker <brobecker@adacore.com>
> 
> > "%zu"
> 
> Are we allowed to use %z?

No, I don't think so.

> I thought that %z is C99

It is.

I think the best we can do with C90 is use %lu and cast to
`unsigned long'.


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