err... my mistake. the error message was referring to a different problem,
which
I was blind to in my hurry. Sorry for all the messages. I'll shut up now. :)
On Thu 16 Dec 2010, David Emerson wrote:
> Well, I'm guessing generics aren't really ready to be fully used... I'm
getting
> an error "T
Well, I'm guessing generics aren't really ready to be fully used... I'm getting
an error "There is no method in an ancestor class to be overridden" where the
ancestor class was a specialized generic. Doesn't seem very promising for
actual use.
So I'm abandoning generics for now. Hopefully they'
I'll give a little more detail...
Right now I have these non-generic types:
t_point = class
f_left, f_top : longint; // so named for descendents
// several fields and methods to manage it as I need
end;
t_box = class (t_point)
f_width, f_height : longint;
// more fields and methods to
Problem solved! After installing libgl1-mesa-swx11 all problems went
away and now everything is rendered ok.
Thanks to all who helped m on this list as well as in pm.
Regards, Darius
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://li
Hi all,
How can I use inheritance with generics? e.g.
type
generic gt_point<_num> = class
...
end;
generic gt_box<_tpoint,_num> = class (_tpoint)
...
end;
The above gives me an error; I've tried some other variations but haven't yet
found anything that works
Thanks,
David
Hello,
It might be interesting to know that I managed to build a bridge which
exports the Java API and the Android API to Free Pascal. Check this
hello world code and screenshot:
http://wiki.lazarus.freepascal.org/Android_Interface/Android_Programming#Using_the_Android_API_from_Pascal
The full c