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 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!newshub.sdsu.edu!npeer.de.kpn-eurorings.net!border2.nntp.ams.giganews.com!nntp.giganews.com!news.cs.univ-paris8.fr!talisker.lacave.net!lacave.net!feeder.xsnews.nl!feeder.news-service.com!post.news-service.com!news1.surfino.com!not-for-mail Message-Id: <1877170.EimaI4BZ9C@linux1.krischik.com> From: Martin Krischik Subject: C++ language support. Newsgroups: comp.lang.ada,comp.lang.c++,comp.realtime,comp.software-eng Date: Tue, 29 Mar 2005 10:54:21 +0200 References: <1110284070.410136.205090@o13g2000cwo.googlegroups.com> <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> User-Agent: KNode/0.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: abuse@surfino.com Organization: Surfino Gmbh NNTP-Posting-Host: 83.169.175.19 (83.169.175.19) NNTP-Posting-Date: Tue, 29 Mar 2005 11:00:19 +0200 X-Trace: 7d84e42491923f60c0ab624969 Xref: g2news1.google.com comp.lang.ada:10107 comp.lang.c++:47746 comp.realtime:1806 comp.software-eng:5448 Date: 2005-03-29T10:54:21+02:00 List-Id: Hyman Rosen wrote: > Martin Krischik wrote: >> Disclaimer: Both sources might not be in working order - everytime I >> switch compiler (IBM C++ -> MS-C++ -> G++) the code need reworking and >> the switch to GNU is not finished yet. > I looked at Ada Array and immediately found errors > (eg., in 'typename TheIndex const First;' the 'typename' > keyword is not permitted). I know the code is full of problem zones and I think I fixed that in "Ada::Range" allready. The sad thing is that it did compile with one compiler and it won't with the next. The last fix I did was "throw ( ... )" - IBM accepts it. MS even warns you about missing features if you try anthing else. 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). > I suggest you try out your > code on Comeau, God's Own C++ Compiler (they ought to > trademark that phrase :-) It's available on the web at > . I try that after I got a working GNU version. Martin -- mailto://krischik@users.sourceforge.net Ada programming at: http://ada.krischik.com