Delphi import $R *.res improvement
- Lazarus/FPC Version: Lazarus 2.3.0 rmain-2_3-285-g3313ccc1 FPC 3.3.1 i386-win32-win32/win64
- Operating System: <windows 10>
- CPU / Bitness: <32> (64 or 32 Bit?)
What happens
In .dpr {R .res} is changed to {.
R *.res} even if "delphi compatibility" option is ticked.
What did you expect
If it needs handling I'd expect it to change to
{$ifndef fpc} {$R *.res} {$endif}
if the delphi compatibility knob is on.
Steps to reproduce
Import any delphi project. // Please choose and add the following labels as appropriate: // - "Version::.." // - "Category::delphi converter____> // - "WS:___" if and only if you tested with different Widgetset, and if only one/some is/are affected // - "Severity::Crash" if the issue causes a crash. Otherwise any severity added, will be removed.