Error: (1026) Compilation raised exception internally
Original Reporter info from Mantis: djenkins @dfjenkins
-
Reporter name: David Jenkins
Original Reporter info from Mantis: djenkins @dfjenkins
- Reporter name: David Jenkins
Description:
When building code that uses Indy10 source compiler errors out with following message:
/Volumes/scooters$/David/IdInternalCompErr/./iD/IdFTPListParseMusic.pas(137,19) Error: (1026) Compilation raised exception internally
Fatal: (1018) Compilation aborted
An unhandled exception occurred at $00000001052776FF:
EAccessViolation: Access violation
$00000001052776FF
Steps to reproduce:
Try to build attached project (all necessary Indy10 files included)
Additional information:
The following code line causes the problem
IdFTPListParseMusic.pas:137
LI.RecFormat := ExtractRecFormat(StripNo(LTmp));
LTmp is a string. StripNo() returns a string. If change the code to
s := StripNo(LTmp);
LI.RecFormat := ExtractRecFormat(s);
There is no error