[fpc-devel] tagSIZE is missing in FPC 3.1.1

2015-11-18 Thread MohsenTi
I try to compile lazarus with fpc 3.1.1 and get tagSIZE missing error. tagSIZE type using by canvas and in older fpcs are in types unit. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-dev

[fpc-devel] Access violation in fpmake

2015-11-15 Thread MohsenTi
Hi I checkout fpc trunk and try to build it but fpmake raise access violation exception how to solve it ? ./fpmake compile --localunitdir=.. --os=linux --cpu=x86_64 -o -Ur -o -Xs -o -O2 -o -n -o -Cg -o -dx86_64 -o -dRELEASE --compiler=/home/mohsen/Applications/Lazarus/fpc-trunk/compiler/ppcx64 -bu

Re: [fpc-devel] adding a new token to compiler cause exception

2015-10-13 Thread MohsenTi
I want to add two overloadable operators “>>” and “<<” to use them as “shr” and “shl” ,or writing into and reading from streams and the other functions like those mentioned above. در تاریخ ۱۳ اکتبر ۲۰۱۵ ۲۲:۲۱، "Sven Barth" نوشت: > Am 13.10.2015 19:59 schrieb "Mohsen" : > > > > Hi > > I need add t

Re: [fpc-devel] Fwd: While - Otherwise Statement

2015-10-11 Thread MohsenTi
ones but it seems they are not related to my changes. What you think? thanks a lot On Sun, Oct 11, 2015 at 6:44 PM, Sven Barth wrote: > Am 11.10.2015 15:56 schrieb "MohsenTi" : > > > > Hi everybody > > > > I add new feature to FPC compiler to simplify progr

[fpc-devel] Fwd: While - Otherwise Statement

2015-10-11 Thread MohsenTi
Hi everybody I add new feature to FPC compiler to simplify programming. this is While - Otherwise working like While - Else in python and has backwards compatibility. Examples Ex1: While (I<5) do begin Writeln(I); Dec(I); end otherwise writeln('otherwise'); Ex2: While (I<5) do begin Writeln(I);

Re: [fpc-devel] new features and facilities

2015-10-11 Thread MohsenTi
t find relation between executionweight and while. please define it for me! Thanks a lot. On Thu, Oct 8, 2015 at 9:21 PM, MohsenTi wrote: > Thank you Sven, > is there any documentation about freepascal compiler parts ? > > On Thu, Oct 8, 2015 at 8:27 PM, Sven Barth > wrote: >

Re: [fpc-devel] new features and facilities

2015-10-08 Thread MohsenTi
Thank you Sven, is there any documentation about freepascal compiler parts ? On Thu, Oct 8, 2015 at 8:27 PM, Sven Barth wrote: > Am 08.10.2015 17:37 schrieb "MohsenTi" : > > > > I know this issue but with changing some of structures, I can implement > it and no

Re: [fpc-devel] new features and facilities

2015-10-08 Thread MohsenTi
I know this issue but with changing some of structures, I can implement it and now I only want testing adding features to compiler and don't care about backward compatibility,just testing. I added some changes to compiler functions and classes like pstatmnt.while_statement and nflw.twhilerepeatnod