|
From: GNADE proejct account on 21 Jan 2007 04:01 Dear all, when i am compiling my code, i get the following error: cache.adb:82:04: warning: in instantiation at util-dynamic_hashtable.adb:310 cache.adb:82:04: warning: "return" statement missing following this statement cache.adb:82:04: warning: Program_Error may be raised at run time the offending lines in util-dynamic_hash.adb are: function Get_Root( <--- Line 310 This : in Object ) return Key_List_Access is Data : Object_Data_Access renames This.Data; I : Iterator_Type ; begin I.Reset( Get( Data.Root ) ); return I.First; end Get_Root ; I have no idea what the compiler is complaining about! Any Idea?
From: Stuart on 22 Jan 2007 04:06 "GNADE proejct account" <michael.erdmann(a)snafu.de> wrote in message news:pan.2007.01.21.09.01.49.711806(a)snafu.de... > Dear all, > > when i am compiling my code, i get the following error: <snip error message and code snippet> > I have no idea what the compiler is complaining about! Any Idea? You have not included the declarations of the various types and objects used in your code. This makes it very difficult to replicate the problem and provide you with help. Perhaps you could repost a more complete code extract. Regards -- Stuart
From: Stephen Leake on 23 Jan 2007 02:12 GNADE proejct account <michael.erdmann(a)snafu.de> writes: > Dear all, > > when i am compiling my code, i get the following error: > > cache.adb:82:04: warning: in instantiation at > util-dynamic_hashtable.adb:310 cache.adb:82:04: warning: "return" > statement missing following this statement cache.adb:82:04: warning: > Program_Error may be raised at run time > > the offending lines in util-dynamic_hash.adb are: What is in cache.adb:82 ? It is odd to see two filenames on one line. -- -- Stephe
From: Adam Beneschan on 23 Jan 2007 11:57 Stephen Leake wrote: > GNADE proejct account <michael.erdmann(a)snafu.de> writes: > > > Dear all, > > > > when i am compiling my code, i get the following error: > > > > cache.adb:82:04: warning: in instantiation at > > util-dynamic_hashtable.adb:310 cache.adb:82:04: warning: "return" > > statement missing following this statement cache.adb:82:04: warning: > > Program_Error may be raised at run time > > > > the offending lines in util-dynamic_hash.adb are: > > What is in cache.adb:82 ? > > It is odd to see two filenames on one line. I think that the poster simply posted in a way that his posting software decided to do a paragraph fill instead of respecting his line breaks. cache.adb:82:04: warning: in instantiation at util-dynamic_hashtable.adb:310 cache.adb:82:04: warning: "return" statement missing following this statement cache.adb:82:04: warning: Program_Error may be raised at run time Does this make it clearer? (Assuming Google Groups hasn't sabotaged my formatting.) -- Adam
From: GNADE proejct account on 26 Jan 2007 11:14 On Tue, 23 Jan 2007 02:12:14 -0500, Stephen Leake wrote: > GNADE proejct account <michael.erdmann(a)snafu.de> writes: > >> Dear all, >> >> when i am compiling my code, i get the following error: >> >> cache.adb:82:04: warning: in instantiation at >> util-dynamic_hashtable.adb:310 cache.adb:82:04: warning: "return" >> statement missing following this statement cache.adb:82:04: warning: >> Program_Error may be raised at run time >> >> the offending lines in util-dynamic_hash.adb are: > > What is in cache.adb:82 ? 116 package Object_Table is 117 new Dynamic_Hashtable( Payload_Type => Cache_Entry_Access ); 118 use Object_Table; 119 > > It is odd to see two filenames on one line.
|
Next
|
Last
Pages: 1 2 Prev: AW: Limited_Controlled and constructor functions Next: How come Ada isn't more popular? |