Hello,

I found out the most incredible thing. When I add this stripped-down
unit to my program, GDB will crash loading it. When I remove the line
in the initialization section, it works. When I rename the unit, it 
works also. So I can easily work around the problem, but maybe a more 
generic solution should be made in FPC? Should I submit it as an FPC bug?

unit ZFUSysUtils;

interface

uses
  SysUtils,Types;

var
  Win32PlatformIsUnicode: Boolean;
  Win32PlatformIsXP: Boolean;
  Win32PlatformIs2003: Boolean;
  Win32PlatformIsVista: Boolean;


implementation


initialization
  Win32PlatformIsUnicode := true;

end.

Cheers,
Tobias




--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to