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,8da181ade72859cf X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit From: Brian May Newsgroups: comp.lang.ada Subject: Re: timeouts References: <2jVUc.13319$Fg5.12445@attbi_s53> <%H0Wc.299737$%_6.62464@attbi_s01> Date: Thu, 26 Aug 2004 11:28:03 +1000 Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:Ghiv0UKRDCLOCWdkd2QErWaTjwk= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: dsl-202-173-153-89.vic.westnet.com.au X-Trace: news.melbourne.pipenetworks.com 1093483683 202.173.153.89 (26 Aug 2004 11:28:03 +1000) X-Complaints-To: abuse@pipenetworks.com X-Abuse-Info: Please forward all headers to enable your complaint to be properly processed. Path: g2news1.google.com!news2.google.com!news.maxwell.syr.edu!news.mel.connect.com.au!news-02.connect.com.au!birrie.connect.com.au!news.alphalink.com.au!news.melbourne.pipenetworks.com!not-for-mail Xref: g2news1.google.com comp.lang.ada:3004 Date: 2004-08-26T11:28:03+10:00 List-Id: >>>>> "Jeff" == Jeff C, writes: Jeff> It is the latest public version of GNAT but not the latest Jeff> version. If you were an Ada Core Technologies customer they Jeff> are up to version ~5.02 Jeff> If you want to stay with public releases you might want to Jeff> give gcc 3.4.1 a try. Jeff> There are pre-built binaries available for windows at the Jeff> mingw site. Note that if you have never used mingw before Jeff> you should consider downloading not only the compiler but Jeff> also the msys and MinGW packages. As I am using cygwin, I tried the latest cygwin mingw gcc ada compiler. 3.3.3-3 Unfortunately, my initial attempt has failed with an undefined symbol: _max_path_len when attempting to compile AWS (required by my application). Is there anything else I can try? It would kind of look bad for Ada if I had to rewrite the mostly working code in another language because of suspected compiler bugs. Also, for the record, I used a better routine to display the time, there were no glitches, but it still hangs. I suspect it is related to the number of times the select statement is entered, it seems to take many hours before it will crash (eg. greater then 12 hours with the select statement being entered 2 to 3 times a second). When it does crash, everything else in the application still works fine (including AWS server and other events in the same select statement), but this doesn't help much without the timeouts. Jeff> Of course this is a lot to download just to "see if it Jeff> works" if you network connection is slow... Ok, my 2 cents on the thread on why Ada is not popular: No freely available compiler that is reliable, with known bugs fixed, and can compile available code. (I am basing this statement on the following assumption: there is a bug related to time handling, it is present in GNAT-3.15p, and it is the bug I am encountering). -- Brian May