Re: [fpc-pascal] Re: weird compile error message

2013-09-11 Thread Sven Barth
Am 12.09.2013 03:14 schrieb "Xiangrong Fang" : > > Hi Sven, > >> Additional note: The "PTree = ^TTree" in front of the "TTree" is wrong and only supported by pre-2.7.1 FPC by accident. The correct code would be: > > > I removed PTree yesterday and this problem is gone. I now understand that it is

Re: [fpc-pascal] Re: weird compile error message

2013-09-11 Thread Sven Barth
Am 12.09.2013 03:46 schrieb "Xiangrong Fang" : > I have downloaded fpcbuild.zip and did 'NOGDB=1 make build', as it tell me cannot find libgdb.a... Just ignore the libgdb stuff. It's only needed for the textmode IDE. > Now my question is how can I install the binaries so that it does NOT interfer

Re: [fpc-pascal] Re: weird compile error message

2013-09-11 Thread Xiangrong Fang
Hi Sven, I have downloaded fpcbuild.zip and did 'NOGDB=1 make build', as it tell me cannot find libgdb.a... Now my question is how can I install the binaries so that it does NOT interfere with my current 2.6.2 build? Thanks! ___ fpc-pascal maillist -

Re: [fpc-pascal] Re: weird compile error message

2013-09-11 Thread Xiangrong Fang
Hi Sven, Additional note: The "PTree = ^TTree" in front of the "TTree" is wrong and > only supported by pre-2.7.1 FPC by accident. The correct code would be: > I removed PTree yesterday and this problem is gone. I now understand that it is not necessary to define PTree as TTree is a pointer anyw

Re: [fpc-pascal] Re: weird compile error message

2013-09-11 Thread Sven Barth
On 11.09.2013 17:01, Xiangrong Fang wrote: Hi, "Missing -T" is not the problem, the problem is "undefined reference", which caused fatal error. I filed a bug report: http://bugs.freepascal.org/view.php?id=25001 I am pretty sure this is a bug, becuase while I continue to add code to my TTree cl

Re: [fpc-pascal] Re: weird compile error message

2013-09-11 Thread Xiangrong Fang
Hi, "Missing -T" is not the problem, the problem is "undefined reference", which caused fatal error. I filed a bug report: http://bugs.freepascal.org/view.php?id=25001 I am pretty sure this is a bug, becuase while I continue to add code to my TTree class, this problem is gone! In another word,