Internal error 2014010312 when compiling unit which accidentally contains class method definitions of another class.
Original Reporter info from Mantis: Cyrax
-
Reporter name:
Original Reporter info from Mantis: Cyrax
- Reporter name:
Description:
Compiler gives internal error 2014010312 when compiling unit which accidentally contains class method definitions in its implementation section. This class is already defined (and its methods) in separate unit which is used in the first unit.
The second unit is in uses clause of the first units interface section.
This bug occurs only when doing subsequent compiles. Full build resets this.
See attached project, Steps to reproduce and Additional Information for more info.
Steps to reproduce:
- Compile attached project. Ignore errors.
- Do second compile.
Additional information:
Lazarus revision 48926
FPC revision 30794
FPC make commands:
clean
all
install
OPT=-gw2 -godwarfsets -gl -O- -OoNO -Xs- -Si- -vb -XX -CX -dTEST_WIN32_SEH
COMPILER_OPTIONS=-gw2 -godwarfsets -gl -O- -OoNO -Xs- -Si- -vb -XX -CX -dTEST_WIN32_SEH
INSTALL_PREFIX=F:\free_pascal_and_lazarus\fpc\i386\trunk\binary\fpc_trunk
UPXPROG=echo
IDE=1
REVSTR=30794
Lazarus make commands:
clean
all
OPT=-gw2 -godwarfsets -gl -gh -O- -OoNO -Xs- -Si- -vb -XX -CX -dTEST_WIN32_SEH -dHEAPTRC_WINDOW -dDBG_WITH_DEBUGGER_DEBUG
UPXPROG=echo
USESVN2REVISIONINC=0
---
FPC command line parameters for the attached project:
-- -MObjFPC -Scghi -gw2 -godwarfsets -gl -l -vewnhibq -Filib\i386-win32-win32-30101 -Fusrc -Fu. -FUlib\i386-win32-win32-30101 -FEbin\i386-win32-win32-30101\
--
Mantis conversion info:
- Mantis ID: 28022
- OS: Server 2008 R2
- OS Build: 6.1.7601 (SP1)
- Build: r30794
- Platform: Windows
- Version: 3.1.1
- Fixed in version: 3.3.1
- Fixed in revision: 44170 (#14755934)