Can't compile in IDE after first error
Original Reporter info from Mantis: mait
-
Reporter name: Mait Lang
Original Reporter info from Mantis: mait
- Reporter name: Mait Lang
Description:
In IDE 1.0.12 from FPC 2.4.0 release for Win32, Win64 and WinCE compilation of a program after first error is not possible. Every next compilation trial stops and in "Compiler messages" window is displayed "Fatal: Compilation aborted". In verbose mode the last message before is Macro_defined: FPC_HAS_FEATURE_SOFTFPU. Compiling of other open programs also not possible. Restarting IDE helps until next error.
Steps to reproduce:
{Simple program}
Program CMPInIDE;
begin
WriteLn('Compiled within IDE.');
end.
// compiling in IDE works
// *-- make an error
Program CMPInIDE;
begin
WriteLn('Compiled within IDE.' , );
end.
// compilation in IDE ends with correct error message "Error: Illegal expression ..." followed by "Fatal: syntax error ..."
// *-- fix error but compilation in IDE is not possible and ends with
Macro_defined: FPC_HAS_FEATURE_SOFTFPU.
"Fatal: Compilation aborted"
Additional information:
No problems with IDE 1.0.10 and FPC 2.2.4
Mantis conversion info:
- Mantis ID: 15554
- OS: XP
- OS Build: 2002 SP3
- Build: 2009/12/18
- Platform: celeron
- Fixed in version: 2.4.2
- Fixed in revision: 14762 (#f31320db)
- Target version: 2.4.2