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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC,WEIRD_PORT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6f3798af21a89421,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-11 15:14:35 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!sn-xit-03!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "J Cusick" Newsgroups: comp.lang.ada Subject: GtkAda / Ada Newbie Question Date: Tue, 11 Nov 2003 18:11:56 -0500 Organization: Smoke Incorporated Message-Id: User-Agent: Pan/0.13.4 (She had eyes like strange sins.) Reply-To: Joe at Smoke dot not MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@supernews.com Xref: archiver1.google.com comp.lang.ada:2387 Date: 2003-11-11T18:11:56-05:00 List-Id: I'm new to both Ada and GtkAda and have a question regarding my first basic hello world program. These are the lines in question: procedure Simple is S_Window : Gtk.Window; S_Button : Gtk.Button; and this is the error I get when attempting gnatmake: simple.adb:8:18: subtype mark required in this context simple.adb:8:18: found "Window" declared at gtk-window.ads:59 simple.adb:9:18: subtype mark required in this context simple.adb:9:18: found "Button" declared at gtk-button.ads:41 This is of course followed by subsequent errors along the lines of: simple.adb:28:07: must be an access-to-object type every place that S_Window or S_Button shows up. I have absolutely no clue what this error is telling me. What is a "subtype mark" and how do I supply one? As I have mentioned, I'm just starting to climb the learning curve for both Ada and GtkAda, so any help or pointers are greatly appreciated.Thanks for any answers regarding this question. Regards, John C.