Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!purdue!iuvax!watmath!watmsg!afscian From: afscian@watmsg.waterloo.edu (Anthony Scian) Newsgroups: comp.sys.ibm.pc Subject: Re: Turbo C portability from other C compilers Message-ID: <32632@watmath.waterloo.edu> Date: 14 Dec 89 20:22:59 GMT References: <1880@atari.UUCP> Sender: daemon@watmath.waterloo.edu Reply-To: afscian@watmsg.waterloo.edu (Anthony Scian) Organization: U. of Waterloo, Ontario Lines: 14 In article <1880@atari.UUCP> apratt@atari.UUCP (Allan Pratt) writes: >I don't normally read this group, so please respond by mail, not >by posting. [e-mail bounced and text has been deleted] >Secondly, is the PC's Turbo C an ANSI C compiler? No, and it never will be unless the calling convention is changed. The mechanism used for returning float, double, and struct/union types is not re-entrant and hence violates the pANSI standard. Same goes for MSC. WATCOM C7.0 is the only PC/DOS C compiler that can be considered the closest to pANSI compliant (i.e., __STDC__==1). Anthony //// Anthony Scian afscian@watmsg.uwaterloo.ca afscian@watmsg.waterloo.edu //// "I can't believe the news today, I can't close my eyes and make it go away" -U2