Hi,
I have a strange Problem on compile a Source Code:
when I doing the following Command:
fpc -dDLLEXPORT -dLANGDEU -n -B -O3 -Os -CD -a -al -Anasmwin64 xmm.pas
I get message:
xmm.pas:148: error: mismatch in operand sizes
xmm.pas(144,1) Error: Error while assembling exitcode 1
xmm.pas(144,1) Fatal: There were 2 errors compiling module, stopping
Fatal: Compilation aborted
Error: C:\fpcupdeluxe\fpc\bin\x86_64-win64\ppcx64.exe returned an error exitcode
when I compile with:
fpc -dDLLEXPORT -dLANGDEU -n -B -O3 -Os -CD -a -al -Anasmwin64 -Xe -sh xmm.pas
I get message:
xmm.pas(12,1) Error: Duplicate identifier "SYSTEM"
xmm.pas(12,1) Error: Compilation raised exception internally
Fatal: Compilation aborted
An unhandled exception occurred at $00000001000615EC:
EAccessViolation: Access violation
$00000001000615EC
$0000000100045FFA
$00000001000461DB
$000000010019D378
$000000010003DCE5
$0000000100017941
$0000000100001A3D
$0000000100001A56
$0000000100014280
$0000000100001850
$00007FF815EF257D
$00007FF8163EAF08
Error: C:\fpcupdeluxe\fpc\bin\x86_64-win64\ppcx64.exe returned an error exitcode
Before Line 12 (11): {$mode ObjFPC}{$H+}
Line 12 : is empty
After Line 12 (13): interface
When I compile without -a and -A Options, FPC does not stuck into troubles, and produce a executable.