Path: utzoo!telly!attcan!uunet!sco!seanf From: seanf@sco.COM (Sean Fagan) Newsgroups: comp.unix.sysv386 Subject: Re: atof() in SCO UNIX DEV Message-ID: <8372@scolex.sco.COM> Date: 24 Oct 90 06:44:02 GMT References: <1990Oct09.133730.478@pemstgt.gtc.de> <7944@star.cs.vu.nl> Sender: news@sco.COM Reply-To: seanf (Sean Fagan) Organization: The Santa Cruz Operation, Inc. Lines: 24 In article em@dce.ie (Eamonn McManus) writes: >SCO Unix has a compiler that makes a feeble pretense at being ANSI. It's >ridiculously inept in some areas. Look at the definition of offsetof() in > for example: it evaluates to a (char *) instead of an integer. Actually, it evaluates to a void*, not a char*. (We forgot to put in the cast, it looks like; a simple enough fix if you run into problems with it, in this respect.) If you want to be more precice, it evaluates to a *. >I would advise anyone writing C programs on this system to get the GNU >C compiler. Provided, of course, they don't want to be compatable with the system, that's a pretty decent suggestion. And, of course, they cannot develop DOS, '286, or OMF products using gcc. -- -----------------+ Sean Eric Fagan | "*Never* knock on Death's door: ring the bell and seanf@sco.COM | run away! Death hates that!" uunet!sco!seanf | -- Dr. Mike Stratford (Matt Frewer, "Doctor, Doctor") (408) 458-1422 | Any opinions expressed are my own, not my employers'.