Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!sun-barr!ames!sgi!ciemo@bananapc.wpd.sgi.com From: ciemo@bananapc.wpd.sgi.com (Dave Ciemiewicz) Newsgroups: comp.lang.c++ Subject: Re: "Signed" Implemented Yet? Summary: So I don't look like a complete moron Message-ID: <41654@sgi.sgi.com> Date: 12 Sep 89 21:59:25 GMT References: <6590193@hplsla.HP.COM> <6590195@hplsla.HP.COM> <41603@sgi.sgi.com> Sender: ciemo@bananapc.wpd.sgi.com Organization: Silicon Graphics, Inc., Mountain View, CA Lines: 23 In article <41603@sgi.sgi.com>, ciemo@bananapc.wpd.sgi.com (Dave Ciemiewicz) writes: > In article <3520@internal.Apple.COM>, turk@Apple.COM (Ken "Turk" Turkowski) writes: > > Yes, and this poses severe problems on the IRIS, which has chars as unsigned > > by default. There seems to be no way to get signed chars. > > The C compiler has a flag for defaulting to signed integers (-signed). ^^^^^^^^ chars Ahem, I meant to say that the -signed flag for the C compiler causes the compiler to default to signed chars instead of unsigned chars. If you are used to programming in environments with signed chars as the default, you can use this flag with your C++ compiler (CC should pass it through to the C compiler.). --- Dave -- ------------------------------------------------------------------------------- Cosmo Ciemo, Silicon Valley Dude I was traipsing through the fields of my mind when I stepped in something that smelled rather ripe. -------------------------------------------------------------------------------