Incorrect error message: Compiling project Panic: internal error: File not open
Original Reporter info from Mantis: BigChimp
-
Reporter name: Reinier Olislagers
Original Reporter info from Mantis: BigChimp
- Reporter name: Reinier Olislagers
Description:
Compiling the attached project leads to the error in Summary.
Note: this project has an error:
tcparser line 869 says
S:=TSQLSetGeneratorStatement(CheckClass(FToFree,TSQLSetTermStatement));
while it should be
S:=TSQLSetGeneratorStatement(CheckClass(FToFree,TSQLSetTermStatement));
If that error is corrected, compilation succeeds without errors.
(FPC reports:
...
Compiling tcparser.pas
tcparser.pas(869,6) Error: Incompatible types: got "TSQLSetGeneratorStatement" e
xpected "TSQLSetTermStatement"
tcparser.pas(8123) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Error: c:\development\fpctrunk\bin\i386-win32\ppc386.exe returned an error exitc
ode
)
So... there's something wrong with error handling/reporting.
Mantis conversion info:
- Mantis ID: 26305
- OS: Windows
- OS Build: Windows 7
- Build: 45396
- Platform: x64 (with x86 compiler)
- Version: 1.3 (SVN)
- Fixed in version: 1.3 (SVN)
- Fixed in revision: 45398 (#c4611aa9)