Compiler does not abort compilation when calling interface method directly
Original Reporter info from Mantis: luizamerico
-
Reporter name: Luiz Americo
Original Reporter info from Mantis: luizamerico
- Reporter name: Luiz Americo
Description:
The attached program has an invalid construct (calling interface method directly) and instead of giving a proper error message the compiler shows an error in the linking stage giving no clue what's wrong:
test.pas(7,1) Error: Undefined symbol: BLIKSERVICES_
IDATASETPOOL___
$_ACQUIREDATASETANSISTRING
$TDATASET
test.pas(7,1) Error: Undefined symbol: BLIKSERVICES_
IDATASETPOOL___
$_RELEASEDATASET$TDATASET
test.pas(7,1) Fatal: There were 2 errors compiling module, stopping
Free Pascal Compiler version 2.7.1 [2011/10/17] for i386
Target OS: Win32 for i386
Delphi in other side, abort the compilation with the following message:
blikservices.pas(87) Error: Object or class type required
blikservices.pas(92) Error: Object or class type required
Mantis conversion info:
- Mantis ID: 20661
- OS: Windows
- OS Build: XP
- Platform: i386
- Fixed in version: 2.6.1
- Fixed in revision: 20427 (#75aac428)
- Monitored by: » @PascalDragon (Sven Barth)