Re: [fpc-pascal] Generic compiler error

2017-10-22 Thread Ryan Joseph
> On Oct 23, 2017, at 9:14 AM, Marcos Douglas B. Santos > wrote: > > How do the same with generic classes, using mode delphi? I think you need to specialize then alias the specialize type. Why do you want to make an alias for an untyped generic anyways? Regards,

[fpc-pascal] Generic compiler error

2017-10-22 Thread Marcos Douglas B. Santos
Hi, In Pascal we can do this: type TXStream = TStream; Now, TXStream is just an alias to TStream. How do the same with generic classes, using mode delphi? TBar = TFoo; Compile Project, Target: C:\temp\project1.exe: Exit code 1, Errors: 4 project1.lpr(25,18) Error: Identifier not found

Re: [fpc-pascal] Plans to support various ISO modes

2017-10-22 Thread Marco van de Voort
In our previous episode, Sven Barth via fpc-pascal said: FPC ISO modes are primarily geared to recompiling complaint code, not to reject standards corner cases. > 5. Doesn't implement conformant arrays > > It might be that these are supported in trunk as well, but I'm not sure. (Afaik

Re: [fpc-pascal] Plans to support various ISO modes

2017-10-22 Thread Sven Barth via fpc-pascal
Am 22.10.2017 10:51 schrieb "Dominik Rappaport" : Hi, I hope this question is not part of the FAQ list. What are the plans for FPC as to the support of the various ISO modes of Pascal? At the moment, there is a switch to enable "ISO" mode, but it's unclear to me which ISO

[fpc-pascal] Plans to support various ISO modes

2017-10-22 Thread Dominik Rappaport
Hi, I hope this question is not part of the FAQ list. What are the plans for FPC as to the support of the various ISO modes of Pascal? At the moment, there is a switch to enable "ISO" mode, but it's unclear to me which ISO standard this option enforces (Standard Pascal 1983 or 1990 or Extended