From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c78177ec2e61f4ac X-Google-Attributes: gid103376,public From: Jonathan Guthrie Subject: Re: ada and robots Date: 1997/06/25 Message-ID: <5os5a6$anf$1@news.hal-pc.org>#1/1 X-Deja-AN: 252556617 References: <97061611223212@psavax.pwfl.com> Organization: Houston Area League of PC Users Newsgroups: comp.lang.ada Date: 1997-06-25T00:00:00+00:00 List-Id: In comp.lang.ada Joe Gwinn wrote: > All C compilers provide the "volatile" attribute, which one can apply to a > (static) variable, and I've never heard of a C compiler that got it wrong > surviving for long. I don't recall if volatile is in Kernigan and Richie, > but it's probably in ANSI C. I think I'll look it up. "volatile" is ANSI, not K&R. Support for "volatile" was badly broken (along with the file buffering, and possibly other things) in Borland's Turbo C 2.0. That compiler survives even unto today. Well, okay, it's been updated. I suspect that "volatile" has been fixed, but I also suspect that buffered files have not. (They don't not work, they just don't work the way any reasonable human being would expect. Email me if you'd like details.) -- Jonathan Guthrie (jguthrie@brokersys.com) Information Broker Systems +281-895-8101 http://www.brokersys.com/ 12703 Veterans Memorial #106, Houston, TX 77014, USA We sell Internet access and commercial Web space. We also are general network consultants in the greater Houston area.