[Coco] Microware C Compiler port

Paul Fitch pfitchjr at bellsouth.net
Sun May 31 10:27:47 EDT 2009


Steve, I haven't seen much on this lately.  How is the testing/porting
going? 

> -----Original Message-----
> From: coco-bounces at maltedmedia.com 
> [mailto:coco-bounces at maltedmedia.com] On Behalf Of Steven Hirsch
> Sent: Thursday, January 22, 2009 10:27 AM
> To: CoCoList for Color Computer Enthusiasts
> Subject: Re: [Coco] Microware C Compiler port
> 
> On Thu, 22 Jan 2009, Bill Barnes wrote:
> 
> > Hmmm, I thought it was this way:  printf("long int: 
> %l",longint); I do 
> > know that using "%d" deals with an int though, never seen it 
> > referenced as "%ld"
> 
> I can only speak from experience with ANSI C compilers and 
> modern libraries, but I've never seen a case where '%l' was 
> legal syntax for printf substitutions.  '%d' represents 
> integer and '%ld' represents long int.
> 
> > As far as length.... compiler specific. only guarantees is 
> long is not 
> > smaller than an int, and int is not shorter than a short. I 
> forget the
> > OS-9 C (CoCo) lengths, and don't feel like chasing down my manual.
> 
> Very true.  The absolute sizes of these things is totally 
> dependent on the compiler and/or compilation mode.
> 
> Steve
> 
> 
> -- 
> 
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco
> 




More information about the Coco mailing list