Compiler via IDE sometimes fails to work - "Fatal: Compilation aborted"
Original Reporter info from Mantis: redhawk@redhawk.demon.co.uk
-
Reporter name: Richard Storer
Original Reporter info from Mantis: redhawk@redhawk.demon.co.uk
- Reporter name: Richard Storer
Description:
When compiler find errors in the source code it displays an error message and quits.
When source code errors are corrected the compiler sometimes fail to work: "Fatal: Compilation aborted" and stays this way until the IDE is restarted.
Steps to reproduce:
Program bug;
begin
if 1 => 2 then
end.
Compiler Error:
Recompiling because of C:\fpc\2.4.0\bin\i386-win32\bug.pas
test.pas(4,7) Error: Illegal expression
test.pas(4,9) Fatal: Syntax error, "THEN" expected but "ordinal const" found
test.pas(0) Fatal: Compilation aborted
Compile again:
Fatal: Compilation aborted
correct the error by changing "=>" to ">="
Compile again:
Fatal: Compilation aborted
Additional information:
There are other source code errors that can trigger the compiler problem but this example is always reproducible.
Mantis conversion info:
- Mantis ID: 16740
- OS: XP
- OS Build: Pro
- Build: 2009/12/18
- Platform: Win32
- Version: 2.4.0
- Fixed in version: 2.4.2