I have a simple example that gives an access violation on the latest macos (fpc mode, i.e. no mode switch). What am I missing? Thanks in advance:

program ex;

uses fgl;

var d: specialize TFPGMap<String,Integer>;

begin
   decode.create;
   decode.add('X', 1);

end.


An unhandled exception occurred at $00000001023917DE:
EAccessViolation: Access violation
  $00000001023917DE


Regards

Pete

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to