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: Date: Fri, 27 Aug 2004 20:22:00 +1000 Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:Pr+HYoQ/3bzGgU62vkIVaOCPVhM= 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 1093602119 202.173.153.89 (27 Aug 2004 20:21:59 +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!news1.google.com!news.glorb.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.mel.connect.com.au!duster.adelaide.on.net!news.melbourne.pipenetworks.com!not-for-mail Xref: g2news1.google.com comp.lang.ada:3077 Date: 2004-08-27T20:22:00+10:00 List-Id: >>>>> "Jeffrey" == Jeffrey Carter writes: Jeffrey> PragmARC.Date_Handler uses this internal procedure to split the Jeffrey> seconds value from Ada.Calendar into hour, minute, and seconds: I found PragmARC.Date_Handler the Image function, and am now using it. For some weird reason, when I compile my program with the latest mingw32 GNAT compiler, it constantly prints "N = 1" on a separate line on its own whenever I call the Image function. If I remove the call to the Image function, the N = 1 goes away. Sometimes I get two, most of the time I only get one. Any ideas why? This didn't happen with Gnat 3.15p. Not a show stopper, it just irks me that I can't explain this difference in behaviour. Will continue investigating. Also with GNAT 3.15 this would work, but it come up with a compiler error on mingw32: with Types; use Types; use type Byte; I had to change it to with Types; use Types; use type Types.Byte; Strange. Not sure which behaviour is correct. Anyway, I am now running my program compiled with mingw32 and will see it if still crashes... When installing mingw32, I found I had to keep GNAT 3.15p installed, so I can keep with win32ada bindings installed. They appear to work fine with mingw32. Is there anyway I can install the win32ada bindings without GNAT 3.15p? Thanks. -- Brian May