On 15/12/2010 22:48, Jonas Maebe wrote:

(gdb) ptype FOO1
type = class TFOO : public TOBJECT {
   public:
     LONGINT FOOVALUE;
} *
(gdb) ptype PFOO1
type = class TFOO : public TOBJECT {
   public:
     LONGINT FOOVALUE;
} **

(see the '*' and '**')

Thanks,

yeah i looked at the internals (gdb "maint print type") and they are indeed different. It's gdb, gdb only show one "^" OR "&" at a time => never mind how many lvls of pointer there are.

gdb is real fun..... ;)

Martin


_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to