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,34c5e4948f429691 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!out03a.usenetserver.com!news.usenetserver.com!in01.usenetserver.com!news.usenetserver.com!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsinpeer00.lnd.ops.eu.uu.net!emea.uu.net!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: ANN: QtAda preview available Date: Sat, 14 Apr 2007 21:36:42 +0100 Organization: Pushface Message-ID: References: <1176378179.964724.176000@w1g2000hsg.googlegroups.com> <87d526lrp2.fsf@ludovic-brenta.org> NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1176583003 18910 62.49.19.209 (14 Apr 2007 20:36:43 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Sat, 14 Apr 2007 20:36:43 +0000 (UTC) Cancel-Lock: sha1:ixXSmcUPCAeLpJKKjjThaoRBVFI= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (darwin) Xref: g2news1.google.com comp.lang.ada:15020 Date: 2007-04-14T21:36:42+01:00 List-Id: Ludovic Brenta writes: > Dirk Heinrichs writes: >> ../../adacompiler -c -O0 -gnat05 -gnatW8 -gnatyaAbcdefhikmoprstux -gnatwae -I. -I. >> qt4-child_events-constructors.adb -fPIC -DPIC -o .libs/qt4-child_events-constructors.o >> gnat1: invalid switch: y > ^ The compiler is complaining about the > -gnaty switch. Please check that all the sub-switches after -gnaty > are supported by this version of gnat. It is possible that Vadim used > switches that are only available in GNAT GPL or GNAT Pro. With gnat-gpl-2006 on Mac OS X I get eg $ gnatmake -g -gnat05 dbprog -f -gnatyXgcc -c -g -gnat05 -gnatyX dbprog.adb gnat1: bad -gnaty switch (invalid style switch:X) gnatmake: "dbprog.adb" compilation error which is different .. yes, 4.0.0 says $ GNAT_PREFIX=/opt/4.0.0 gnatmake -g -gnat05 dbprog -f -gnatyX gcc -c -g -gnat05 -gnatyX dbprog.adb gnat1: invalid switch: y gnatmake: "dbprog.adb" compilation error > You may want to just remove -gnaty.... , as this switch is only > useful for the author of the software. but you ought to be using it for your own software. Much easier, though, to just say -gnaty and be done with it! So what if your lines are restricted to 79 characters, I say, with any luck you can get 2 editor windows side-by-side and see even more code at once .. That A in the original set looks odd. Try gnatmake -h to see your legal set. -gnatwae turns on most optional warnings (good) and treats them as errors (harsh). --S