Tnx Sven,
I am tracking it down.
the KOL library is notorious for its complexity with include files and
conditionals compiler. It looks like we may have hit a limit somewhere.
With a clean build my example indeed compiles in all modes (although KOL
should use Mdelphi by default)
Tnx for your
Am 11.11.2010 12:09, schrieb Thaddy:
Tnx Sven,
I am tracking it down.
the KOL library is notorious for its complexity with include files and
conditionals compiler. It looks like we may have hit a limit somewhere.
With a clean build my example indeed compiles in all modes (although KOL
should
Sven Barth schrieb:
Perhaps somewhere a new type section begins between the declaration of
the pointer (Foo = ^Bar) and the declaration of the real type (Bar =
XYZ)? This could easily be the case when includes are used and those
aren't clean ^^ (e.g. packages\sqlite\src\sqlite.inc had a end.
Hi,
When I was adapting KOL for 2.5.1 (trunk) I noticed a delphi
incompatibility:
PSomeType = ^TMySomeType;
TMySomeType = tagSometype;
This doesn't compile. I have to change this to
TMySomeType = tagSometype;
PSomeType = ^TMySomeType;
It potentially breaks a lot of code that is
On 10.11.2010 19:46, Thaddy wrote:
Hi,
When I was adapting KOL for 2.5.1 (trunk) I noticed a delphi
incompatibility:
PSomeType = ^TMySomeType;
TMySomeType = tagSometype;
This doesn't compile. I have to change this to
TMySomeType = tagSometype;
PSomeType = ^TMySomeType;
It potentially breaks
Is this a documented issue or should I submit a bugreport?
Can you please provide an example? The following code compiles for
2.4.0, 2.4.2rc1 and 2.5.1 (from the weekend):
Regards,
Sven
I will try to isolate it. kol.pas is a little fat bastard :)
Small example, 2.5.1 trunk from today
---
program Project2;
{$APPTYPE CONSOLE}
uses windows;
{$DEFINE SHOULD_COMPILE_IN_FPC } // add dot after {
{$IFDEF SHOULD_COMPILE_IN_FPC}
type
PPValueA = ^TPValueA;
PPValue = PPValueA;
pvalueA = packed record
pv_valuename: PAnsiChar;
On 10.11.2010 21:20, Thaddy wrote:
Small example, 2.5.1 trunk from today
---
program Project2;
{$APPTYPE CONSOLE}
uses windows;
{$DEFINE SHOULD_COMPILE_IN_FPC } // add dot after {
{$IFDEF SHOULD_COMPILE_IN_FPC}
type
PPValueA = ^TPValueA;
PPValue = PPValueA;
pvalueA = packed record
On 10.11.2010 21:39, Sven Barth wrote:
I'll update to today's trunk version.
Also no error. Would you please send the compiler's output?
Regards,
Sven
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
2010/11/10 Sven Barth pascaldra...@googlemail.com:
On 10.11.2010 21:39, Sven Barth wrote:
I'll update to today's trunk version.
Also no error. Would you please send the compiler's output?
Maybe a different mode switch? Add {$mode delphi} to the source?
Vincent
On 10.11.2010 21:52, Vincent Snijders wrote:
2010/11/10 Sven Barthpascaldra...@googlemail.com:
On 10.11.2010 21:39, Sven Barth wrote:
I'll update to today's trunk version.
Also no error. Would you please send the compiler's output?
Maybe a different mode switch? Add {$mode delphi} to the
11 matches
Mail list logo