This is the mail archive of the gcc@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]

RE: How to tell gcc that my int32 type is compatible with printf %d?


Doh... you're right... I was misreading source, it's actually defined to be
long or int, dependending on the architecture. In this case, I was reading
the wrong place.

-- Nathan

> -----Original Message-----
> From: Joseph S. Myers [mailto:jsm28@cam.ac.uk]
> Sent: Tuesday, June 05, 2001 1:11 PM
> To: Neulinger, Nathan
> Cc: 'gcc@gcc.gnu.org'
> Subject: RE: How to tell gcc that my int32 type is compatible with
> printf %d?
> 
> 
> On Tue, 5 Jun 2001, Neulinger, Nathan wrote:
> 
> > Unfortunately, this code will likely continue to need to be 
> compiled with
> > old compilers (at least until kernel folks say that 3.0 is 
> cool for linux
> > kernels.
> 
> My tests show this works back at least to 2.7.2.3.  That's 
> why you'll need
> to show what you're actually doing - i.e. provide 
> preprocessed source that
> shows the problem - before we can work out what the issue 
> really is and
> how to resolve it.
> 
> -- 
> Joseph S. Myers
> jsm28@cam.ac.uk
> 


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