[gtkada] Formal Parameter Problem

Rick Duley 30294025 at student.murdoch.edu.au
Mon Jun 13 03:37:42 CEST 2005


Hi Folks

In the GtkAdaRM I get

procedure Get_Editable
   (Widget : access Gtk_Editable_Record;
    Editable : Boolean := True);

Compiling with GPS 2.1.0 (20041129) hosted on pentium-mingw32msv with GNAT GAP
1.1.0 (20041209-323) raises the error message:

"missing argument for parameter "The_Entry" in call to "Get_Editable" declared
at gtk-entry.ads:201"

I changed the code to conform with:

procedure Get_Editable
   (The_Entry : access Gtk_Editable_Record;
    Editable : Boolean := True);

and all is well.

Where's the link missing?
-------------------------------------------
"Professional qualitative judgement
   consists in knowing the rules
     for using (or occasionally breaking)
       the rules."
                            D. Royce Sadler
-------------------------------------------
Rick Duley
Murdoch University
School of Engineering Science
Perth, Western Australia
http://eng.murdoch.edu.au/~rick
aussie : 040 910 6049                .-_|\
o'seas : + 61 40 910 6049           /     \
                              perth *_.-._/
                                         v






More information about the gtkada mailing list