ANN: GtkAda contributions v2.7
The described here packages are proposed as a contribution to GtkAda, an Ada bindings to GTK+. It deals with the following issues: - Tasking support; - Custom models for tree view widget; - Custom cell renderers for tree view widget; - Multi-columned derived model; - Extension derived model (to add columns to a... 1 Jul 2010 13:19
Make specific warning error with gnat?
Hello, I seem to remember that with gnat it was possible to turn a specific warning into an error. I couldn't find anything in the docs, now I'm not sure if this really was gnat or some other compiler which offered this feature. Anyway, what I want is a compile time error for the warning "Constraint_Error" ... 7 Jul 2010 20:05
naming, was Re: Design problem: generic package vs tagged subtype
> That's one of the things I dislike in Ada - everything (types, variables, packages, operations) follows exactly the same naming convention and doesn't use any special character/whatever to distinguish between them, so you run out of good names in no time... You are welcome to invent your own prefixes or... 1 Jul 2010 12:11
Announce : Release of gnatgpr 0.32, access to GPR project information.
GNATGPR is an Ada 2005 GPL software, it allows the user to do simple information request on GNAT GPR project files, like for example : * Give all included projects. * Give all included sources (transitive or not). * Give all included source directories (transitive or not). * Give all main files. ... 30 Jun 2010 17:34
Mysql and gnade
I am wondering if folk who are successfully using gnade/thick mysql binding and mysql could tell me what versions of gnade and mysql they are using? I also interested in recommendations of alternative database products as I am desperate to successfully attach a database to some ada code I have been writing. ... 1 Jul 2010 08:50
Design problem: generic package vs tagged subtype
Hello everyone I'm struggling with some design problems in my project. To explain them I need to give some background on my project, so please bear with me. I'm developing a library to wrap relational database records into Ada objects (this kind of libraries are usually called "ORMs"). Generally I need foll... 2 Jul 2010 06:53
made me hate programming
Gautier write-only expounded in news:98aa58b3-50fc-418d-9f72- 524b5a23c89d(a)t10g2000yqg.googlegroups.com: On 30 Jun., 07:23, mahdert <mahd...(a)gmail.com> wrote: When I first started my undergraduate studies as a computer science major, I was forced to use ADA in an introductory course.. Mind you I was a... 6 Jul 2010 02:28
When a conditional expression is static, where can it be used?
A totally meaningless example just to illustrate the question: What is it that a compiler must report for the case statement below, if anything? procedure CE is type DOW is (Mo, Tu, We, Th, Fr, Sa, So); procedure P is begin null; end P; D: constant DOW := We; begin case D is when Mo ... 1 Jul 2010 13:19
mysql , gnade and function hanging
I am calling this gnade function in the mysql package to get some debug info Put_Line(To_String(String_Field (TheDatabase, TheHeaterQuery, 1))); it unfortunately hangs though and the task stops I am thinking perhaps the whole task has either hung or terminated without telling me. Would gnat tell me if t... 5 Jul 2010 05:37
"(if-else-)" conditional expression from the waste land
For those who wish to use the "(if-else-)" type of conditional statement, there is a web page that may help on the syntax plus: http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00327.html Plus, on the site there is a sample program that uses this new statement that either had a wild night in the other world ... 30 Jun 2010 14:14