GNAT: bug or feature? Hi, When compiled with GNAT GPL 2009 or GNAT GCC 4.4.1 / Ubuntu 9.10, the following code: --------------------------------------------------- package Pack07 is type Base is tagged null record; function Create return Base; type Derived is new Base with null record; end Pack07; -----------... 15 Mar 2010 18:07
AonixADT vs GNATBench - anyone tried both? Hi I've just noticed that AonixADT appears to be available free of charge for Eclipse. Has anyone tried it and compared version 3.2.3 for example against GNATBench 2.3.1? I'm wondering if they can both be installed at the same time to try side by side in one Eclipse installation, or if I need to copy my Eclip... 12 Mar 2010 07:11
Ensuring postconditions in the face of exceptions Consider the procedure: type T is private; -- completion elided generic with procedure Visit (Object : in out T); procedure Refresh (Object : in out T; Dirty : in out T) is begin if Dirty then Visit (Object); Dirty := False; end if; exception when others => Dirty := True; -... 16 Mar 2010 19:48
Getting Up to Speed - Obj.Method; Anh Vo <anhvofrcaus(a)gmail.com> writes: By the way, why put a hollow parenthesis for nothing. I often get trapped by this in Python. foo() calls the parameterless subprogram foo, foo is its address. ... 12 Mar 2010 13:53
Q: Stopping a task running a long simulation Hello, Being still a bit new to tasking, I have a question of how to terminate correctly a certain kind of task. I have a task type which is waiting for running a potentially long simulation; it is kind of a "daemon". (the rationale of using a task type is that I have several simulations that can be run in parall... 11 Mar 2010 21:20
Multicore problem Hello, everyone, Here is the following problem: large 3D array, which can be processed in parallel. Naturally, I was trying to make use of 2 cores on my processor by splitting the whole calculation into several parallel tasks. Strangely, I could actually see that the program utilizes both cores now (even not by ... 10 Mar 2010 15:18
Bitbucket.org now supports Ada and Modula-2 syntax highlighting As of last week, Bitbucket.org (a site similar to sourceforge) supports Ada Modula-2 syntax highlighting. ... 9 Mar 2010 01:18
This MIDI stuff, would someone be interested in reviewing mycode? John McCabe wrote: 1) Perhaps I should be using limited withs in some places to get access to the primitive operators/functions of the stuff in Interfaces.C/.strings and Win32 etc. That's not what "limited with" is for. I notice that you "use" a lot of pkgs, but then refer to things using full name... 13 Mar 2010 03:12
TIOBE index Well, newsgroups contents are visible, copied several times, on various search engines... YouTube has a normalized weight of only 5.73%. Also I noticed: "The first 100 pages per search engine are checked for possible false positives and this is used to define the confidence factor" - the confidence fac... 12 Mar 2010 09:23
This MIDI stuff, would someone be interested in reviewing my code? On Mon, 8 Mar 2010 03:52:04 -0800 (PST), Gautier write-only <gautier_niouzes(a)hotmail.com> wrote: Probably the most urgent thing is to make a package called MIDI, in the body of which you hide all the Win32 / C things. More precisely: - hide the Win32 references - use the C strings only in midi.adb - defi... 9 Mar 2010 10:01 |