Fatal: Internal error 2013112802 when compiling program.

Original Reporter info from Mantis: Cyrax
  • Reporter name:

Description:

Target system: win32, Free Pascal trunk 2.7.1-r26529, Lazarus trunk '1.3'-r43774
fpc make options
make all install sourceinstall UPXPROG=echo OPT="-gw2 -godwarfsets -gl -O- -OoNO -Xs- -vb -dTEST_WIN32_SEH" COMPILER_OPTIONS="-gw2 -godwarfsets -gl -O- -OoNO -Xs- -vb -dTEST_WIN32_SEH" INSTALL_PREFIX=i:\free_pascal_and_lazarus\free_pascal_and_lazarus\fpc\trunk\build\trunk_x32 REVSTR=26529 IDE=1
lazarus make options
make all UPXPROG=echo OPT="-gw2 -godwarfsets -gh -gl -O- -OoNO -dHEAPTRC_WINDOW -Xs- -vb -dTEST_WIN32_SEH" USESVN2REVISIONINC=0

---

This conditional clause is the problem:

{$IF not Defined(FPC) and (CompilerVersion >= 23)}
{$IFEND}

Compile attached test project to see this error message.

Mantis conversion info:

  • Mantis ID: 25573
  • Version: 2.7.1