Invalid character in include file hangs Lazarus on opening project
Original Reporter info from Mantis: BigChimp
-
Reporter name: Reinier Olislagers
Original Reporter info from Mantis: BigChimp
- Reporter name: Reinier Olislagers
Description:
When opening the attached project with invalid data (character "'ÿ'" (FF))(where I accidentally typed {
i fclel.res} instead of {$r fclel.res}, Lazarus hangs and does not respond.
Running lazbuild hangs after reading the config file. (Note: tried with a simple GUI application which did show an error running lazbuild)
Steps to reproduce:
Try to open or compile attached console project.
Additional information:
Compiling with fpc does give a useful error message:
Free Pascal Compiler version 2.7.1 [2013/02/17] for i386
Copyright (c) 1993-2013 by Florian Klaempfl and others
Target OS: Win32 for i386
Compiling adscrub.lpr
fclel.res(1,9) Fatal: illegal character "'ÿ'" ($FF)
Fatal: Compilation aborted
Error: c:\development\fpctrunk\bin\i386-win32\ppc386.exe returned an error exitcode
Mantis conversion info:
- Mantis ID: 23906
- OS: Windows
- OS Build: Vista
- Platform: x64 (with x86 compiler)
- Version: 1.1 (SVN)
- Fixed in version: 1.1 (SVN)
- Fixed in revision: 40335 (#0daa193e)
- Target version: 1.2.0