Re: [fpc-pascal] Commandline to compile projects with generics

2014-09-22 Thread luciano de souza
Yes, I use 2.6.4 version. Well, the important is that work is being doing and the time will arrive. 2014-09-22 14:05 GMT-03:00, Sven Barth : > Am 22.09.2014 15:53 schrieb "luciano de souza" : >> Yes, it works, but why is it not possible to compile programs with >> generics with the conventional

Re: [fpc-pascal] Commandline to compile projects with generics

2014-09-22 Thread Sven Barth
Am 22.09.2014 15:53 schrieb "luciano de souza" : > Yes, it works, but why is it not possible to compile programs with > generics with the conventional method? You are using a 2.6 series compiler, right? If so then this is likely fixed in 2.7.1, which has vast improvements regarding generics. There

Re: [fpc-pascal] Commandline to compile projects with generics

2014-09-22 Thread luciano de souza
Wonderful! Generics are one of the best things has succeed in Freepascal. I suppose this correction will be available in FPC 2.8. Is there some prevision when it will be launched? A friend took a look at GIT updates and he was very happy with the advances. 2014-09-22 12:51 GMT-03:00, leledumbo : >

Re: [fpc-pascal] Commandline to compile projects with generics

2014-09-22 Thread leledumbo
> Yes, it works, but why is it not possible to compile programs with generics with the conventional method? Compiler bug, which luckily gets fixed by specifying additional compiler options. In normal case, there should be no difference between compiling non-generic and generic code WRT compiler

[fpc-pascal] Commandline to compile projects with generics

2014-09-22 Thread luciano de souza
Hello all, I don't use Lazarus, but only Freepascal. Untill the generics advent, I used to compile my projects with the following commandline: fpc progname.pp However, using generics, it was common an access violation in compiling time. A friend said that codes with generics sould be compiled wi