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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Building an encapsulated library that uses GNAT sockets under Windows Date: Tue, 26 Apr 2016 21:24:30 +0100 Organization: A noiseless patient Spider Message-ID: References: <58a4942a-452a-4f32-b39b-f8f1fdbfe9fb@googlegroups.com> <68353b5d-94dc-4604-bdb1-00b48396ec1b@googlegroups.com> <33e880a1-df5f-450c-89e0-9b1d1a95e12f@googlegroups.com> <6c3cb21b-f729-4599-afb0-793c8b8fc2b8@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="6e1b8fc3eb07ad055fcf36cde3a9ae8e"; logging-data="3100"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Qcwd/ml7QW2C+K7oyI0xDaymTgTxCYiU=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:6Dafxo7inzFemHbO43U7rcdQ5hg= sha1:RjUm+uAzJfdebEqs33+hmJNMyyk= Xref: news.eternal-september.org comp.lang.ada:30294 Date: 2016-04-26T21:24:30+01:00 List-Id: ahlan.marriott@gmail.com writes: > On Sunday, 24 April 2016 10:31:12 UTC+2, Simon Wright wrote: >> ahlan@marriott.org writes: >> >> > On Saturday, April 23, 2016 at 11:16:53 PM UTC+2, Simon Wright wrote: >> >> >> I'm not sure it's relevant, but I posted a bug[1] on gnatmake & static >> >> standalone libraries; I sent AdaCore a similar report on gprbuild, no >> >> reply. >> >> > Unfortunately your bug fix isn't included in the sources maintained by >> > AdaCore at GitHub. >> > So thank you for the improvement :-) >> >> I guess I should post an issue there, then! Thanks for the nudge. > > At the same time you might like to suggest that they remove the gotos > from the code! I could only see one (in gprbuild-link.adb). I'd be a lot more worried about the general complexity of that code than one poor little goto. You could raise your own issue. > These caused me lots of problems because our IDE prohibits gotos. > Who in their right mind uses gotos? Who in their right mind prohibits code structures that are sometimes, albeit rarely, the Right Way to do the job? (though I can't actually remember the last time I used a goto).