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=0.6 required=5.0 tests=BAYES_20,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,98ad5b2a2cd88a53 X-Google-Attributes: gid109fba,public X-Google-Thread: 103376,98ad5b2a2cd88a53 X-Google-Attributes: gid103376,public From: fraser@synopsys.its.a.joke.son.com Subject: Re: Ada or C++ acting 'correctly' here? Date: 1999/03/01 Message-ID: <7bclov$drt$1@remarQ.com>#1/1 X-Deja-AN: 449685369 References: <7b8c7u$sj1@drn.newsguy.com> X-Complaints-To: newsabuse@remarQ.com X-Trace: 920246879 KZBGBQC4S164892E1C usenet52.supernews.com Organization: Vegetarian Ada Programmers Newsgroups: comp.lang.ada,comp.lang.c++ Originator: fraser@titanic Date: 1999-03-01T00:00:00+00:00 List-Id: I nearly cried when w_s_m@g5.com said: >With -W3, always a good idea, microsoft will give you an 'integral constant >overflow' message on the expression. With -WX -W3 you could even say it >behaves as well as the ADA compiler. Until you replace the constants with a couple of variables, which will send you off into hyperspace without a speck of complaint. Mind you, this is only one amongst many reasons to choose Ada (ADA being the American Dental Association or something, which you can choose as well, but I'm not qualified to comment on that). Fraser.