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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,703c4f68db81387d X-Google-Thread: 109fba,703c4f68db81387d X-Google-Thread: 115aec,703c4f68db81387d X-Google-Thread: f43e6,703c4f68db81387d X-Google-Attributes: gid103376,gid109fba,gid115aec,gidf43e6,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: alfps@start.no (Alf P. Steinbach) Newsgroups: comp.lang.ada,comp.lang.c++,comp.realtime,comp.software-eng Subject: Re: C++ language support. Date: Tue, 29 Mar 2005 09:11:24 GMT Message-ID: <42491aa1.695350875@news.individual.net> References: <1110361741.551255@athnrd02> <422edaec$0$26554$9b4e6d93@newsread4.arcor-online.net> <1111464133.508323@athnrd02> <423fe9df$0$11476$9b4e6d93@newsread2.arcor-online.net> <1111521825.653841@athnrd02> <424094b0$0$11481$9b4e6d93@newsread2.arcor-online.net> <1111568404.687226@athnrd02> <42416659$0$11476$9b4e6d93@newsread2.arcor-online.net> <1111611226.253249@athnrd02> <4241f47a$0$24073$9b4e6d93@newsread4.arcor-online.net> <1111627358.387482@athnrd02> <424222df$0$24057$9b4e6d93@newsread4.arcor-online.net> <1111632436.374702@athnrd02> <1111698643.735412.144620@l41g2000cwc.googlegroups.com> <424362cc$0$11478$9b4e6d93@newsread2.arcor-online.net> <1111717144.891831@athnrd02> <42446836$0$11463$9b4e6d93@newsread2.arcor-online.net> <2111367.VocJdu5gKQ@linux1.krischik.com> <1877170.EimaI4BZ9C@linux1.krischik.com> X-Trace: individual.net eVL0YEyiZgWay3sbtYdsvAVkVz+2ZZN1BMvcWyxRLUG/p/Ohno X-Newsreader: Forte Free Agent 1.21/32.243 Xref: g2news1.google.com comp.lang.ada:10108 comp.lang.c++:47747 comp.realtime:1807 comp.software-eng:5449 Date: 2005-03-29T09:11:24+00:00 List-Id: * Martin Krischik: > > The last fix I did was "throw ( ... )" - IBM accepts it. MS even warns you > about missing features if you try anthing else. "throw (...)" is not standard C++ syntax. > The GNU compiler immediately moaned about it. I checked the ISO standard and > hey "throw ( ... )" isn't part of the ISO standart. You never stop > learning! > > So I changed to "throw ( std::exeption )" knowing that this will result in > warnings in MS-C++ (and splint and pc-lint for that matter). Why not "throw std::exception();", or, if you're rethrowing, "throw;". Btw., could you Ada folks please stop spouting new disconnected threads or else at least indicate wherever the hell your postings originated, perhaps also with a note mentioning the crossposting. -- A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?