Re: [fpc-pascal] $modeswitch from command line

2020-02-03 Thread Sven Barth via fpc-pascal
Am 03.02.2020 um 23:19 schrieb Mr Bee via fpc-pascal: Hi all, Is there a way to enable a mode switches from fpc command line? Yes, using -M, however these are discarded as soon as a $Mode directive is read (just like any $Mode directive resets any $Modeswitch directive). Regards, Sven ___

[fpc-pascal] $modeswitch from command line

2020-02-03 Thread Mr Bee via fpc-pascal
Hi all, Is there a way to enable a mode switches from fpc command line? Thank you. Regards, ~Bee ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Compatibility problems with fpc > 3.3.1 rev 42375

2020-02-03 Thread fredvs via fpc-pascal
Hello. I did try using aligntoqword() but without luck, I only get crash at loading. It is very sad but I dont have the skill to fix this and mse depends of a guru with brave heart to make it compatible with fpc 3.3.1. Anyway, many thanks Martin for your light. Fre;D - Many thanks ;-) --

Re: [fpc-pascal] Compiler treatment of dotted reference in class property

2020-02-03 Thread Howard Page-Clark via fpc-pascal
On 03/02/2020 13:17, Sven Barth via fpc-pascal wrote: Howard Page-Clark via fpc-pascal > schrieb am Mo., 3. Feb. 2020, 11:22: FPC 3.0.4 compiles this code excerpt without a murmur: == code == {$mode objfpc}{$H+} type    TSheetInfo

Re: [fpc-pascal] Compiler treatment of dotted reference in class property

2020-02-03 Thread Sven Barth via fpc-pascal
Howard Page-Clark via fpc-pascal schrieb am Mo., 3. Feb. 2020, 11:22: > FPC 3.0.4 compiles this code excerpt without a murmur: > > == code == > > {$mode objfpc}{$H+} > > type > >TSheetInfo = record > name: String; > tab: String; > title: String; > kind: TSheetKind; // an e

[fpc-pascal] Compiler treatment of dotted reference in class property

2020-02-03 Thread Howard Page-Clark via fpc-pascal
FPC 3.0.4 compiles this code excerpt without a murmur: == code == {$mode objfpc}{$H+} type   TSheetInfo = record     name: String;     tab: String;     title: String;     kind: TSheetKind; // an enumeration     color: TColor;   end;   TBaseSheet = class(TTabSheet)   protected     FSheetInfo: