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.6 required=5.0 tests=BAYES_05,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d89ff62b8449f197 X-Google-Attributes: gid103376,public From: Alan Brain Subject: Re: Ada and robots Date: 1997/07/01 Message-ID: <33B9C940.AD7@dynamite.com.au>#1/1 X-Deja-AN: 253814988 References: <9706302316.AA23644@stealth.ctron.com> Organization: @Home Reply-To: aebrain@dynamite.com.au Newsgroups: comp.lang.ada Date: 1997-07-01T00:00:00+00:00 List-Id: Huy Vo wrote: > I don't know a C compiler that doesn't have __LINE__. Do you? DEC LSI-11/02 C for RTS-11SJ. The first time I did an embedded system in C, back in 1978. Turbo C++ 2.0 has problems with __LINE__ too, and I'll check with MVC++ 5 and CW 10, CW 12 to see if they give identical results. > Do you know of 2 compilers that will not agree on the value of __LINE__ > in the following program: > #include /* since you insist on having this */ > > main() { > printf("the value of __LINE__ is independent of the compiler %d\n", > __LINE__); > return 0; > } Yes, the LSI-11/02 and Turbo C++ 2. -- aebrain@dynamite.com.au <> <> How doth the little Crocodile | Alan & Carmel Brain| xxxxx Improve his shining tail? | Canberra Australia | xxxxxHxHxxxxxx _MMMMMMMMM_MMMMMMMMM 100026.2014 compuserve o OO*O^^^^O*OO o oo oo oo oo By pulling MAERKLIN Wagons, in 1/220 Scale See http://www.z-world.com/graphics/z/master/8856.gif for picture