Impossible to compile a file in Free Pascal 2.2.2 i386 IDE without changing the default settings
Original Reporter info from Mantis: gene91
-
Reporter name: Haozhun Jin
Original Reporter info from Mantis: gene91
- Reporter name: Haozhun Jin
Description:
The problem occurs in i386-win32 version. But others version probably have the same problem.
I choose 2.2.1 because there is not a choice of 2.2.2 in "Product Version".
It could be solved very easily but it makes an amount of users unable to use the IDE at all. Thus I choos major for the Severity.
When trying to compile in the IDE, a message is received:
Compiler Messages
Error: Illegal parameter: -Opentium3
When tries again, a different one is received:
Compiler Messages
Fatal: Unable to open file C:\FPC\2.2.2\bin\i386-win32\fp.cfg
Fatal: Compilation aborted
This message is received if you tries another times.
The problems are:
- the default setting in “Options-->Compilers-->Additional compiler args" is illegal. It should be "-Oppentium3" rather than "-Opentium3".
- when Illegal parameter message is received, the fp.cfg wasn't correctly closed. Thus make it impossible to open it again before restarting the IDE. This wouldn't happen in daily uses. But it's a bug as well.
I believe problem 1 should be immediately solved and a revised version of FreePascal 2.2.2 for i386 should be published along. If it couldn't be done, an easy-to-be-noticed message of how this could be correct by users themselves should be put at the download page.
p.s. I wonder how this kind of problems could happen in a stable version. I believe this problem can be noticed by every user.
Mantis conversion info:
- Mantis ID: 11864
- Version: 2.2.2
- Fixed in version: 2.2.4
- Monitored by: » gene91 (Haozhun Jin)