Re: [fpc-pascal] Is it possible to redefine FreePascal types?

2012-11-22 Thread Jonas Maebe
On 22 Nov 2012, at 02:00, Kenneth Cochran wrote: On Wed, Nov 21, 2012 at 5:34 PM, Graeme Geldenhuys gra...@geldenhuys.co.ukwrote: That is an incorrect assumptions. The compiler will happily accept both types without needing typecasting. I stand corrected. I assumed it behaved the same as

Re: [fpc-pascal] Is it possible to redefine FreePascal types?

2012-11-22 Thread Mattias Gaertner
Jonas Maebe jonas.ma...@elis.ugent.be hat am 22. November 2012 um 10:03 geschrieben: On 22 Nov 2012, at 02:00, Kenneth Cochran wrote: On Wed, Nov 21, 2012 at 5:34 PM, Graeme Geldenhuys gra...@geldenhuys.co.ukwrote: That is an incorrect assumptions. The compiler will happily accept

Re: [fpc-pascal] Free Pascal 2.6.2 rc1

2012-11-22 Thread LacaK
Mark Morgan Lloyd wrote / napísal(a): Marco van de Voort wrote: Hello, We have placed the first release-candidate of the Free Pascal Compiler version 2.6.2 on our ftp-servers. You can help improve the upcoming 2.6.2 release by downloading and testing this release. If you want you can report

Re: [fpc-pascal] Free Pascal 2.6.2 rc1

2012-11-22 Thread Mark Morgan Lloyd
LacaK wrote: Mark Morgan Lloyd wrote / napísal(a): running on Linux x86 (32-bit): If Lazarus trunk is built with 2.6.0 the bug described at http://bugs.freepascal.org/view.php?id=22463 does not occur. If Lazarus trunk is built with 2.6.2 rc1 the bug is reproducible. Is somewhere

[fpc-pascal] Complex circular references

2012-11-22 Thread denisgolovan
Hi all Now and again, I am trying to debug complex circular references. By complex circular references I mean those which are produced by cyclic graphs of units, not simple one unit uses another and that uses the first one. Unfortunately, currently fpc just shows that some circular references

Re: [fpc-pascal] Complex circular references

2012-11-22 Thread Peter
PasDoc can produce 'dot' files of unit dependencies. (No idea if it will handle circular refs though). GraphViz can then be used to produce images based on the 'dot' files. I gave up with it because it did not parse the implementaion sections, but you won't be needing that for unit

Re:[fpc-pascal] Complex circular references

2012-11-22 Thread denisgolovan
PasDoc can produce 'dot' files of unit dependencies. (No idea if it will handle circular refs though). GraphViz can then be used to produce images based on the 'dot' files. I gave up with it because it did not parse the implementaion sections, but you won't be needing that for unit

Re: [fpc-pascal] Complex circular references

2012-11-22 Thread Jorge Aldo G. de F. Junior
I still dont understand why FPC doesnt support circular references... There is no way to solve that ? 2012/11/22 denisgolovan denisgolo...@yandex.ru: PasDoc can produce 'dot' files of unit dependencies. (No idea if it will handle circular refs though). GraphViz can then be used to produce

[fpc-pascal] Re: Complex circular references

2012-11-22 Thread leledumbo
I still dont understand why FPC doesnt support circular references... There is no way to solve that ? Do you think Delphi or Turbo Pascal or even UCSD Pascal ever supports? The concept of units and uses clause makes the order in which units must be initialized (and how identifier is searched)