Instability of the compiler when bad declaration occurs
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
in Delphi mode, bad call in constructor to the inherited one makes the compiler crash. Both constructors are virtual.
Screenshot of compiler's output:
c:\Pascal32\bin\win32\ppc386.exe -vx -Sd TDK.pas
Free Pascal Compiler version 1.0.6 [2002/04/23] for i386
Copyright (c) 1993-2002 by Florian Klaempfl
Target OS: Win32 for i386
Compiling tdk.pas
Compilation aborted tdk.pas:47
Runtime error 216 at 0x00449453
0x00449453
0x00482E5B
0x00448B09
0x00482E5B
0x0047CD33
0x00482E5B
0x00482F08
0x00438D44
0x0043952C
0x0043B419
0x0043B77D
0x0043B78E
0x0043B78E
0x0043B78E
0x0043B8FF
0x00412490
0x00412036
0x004127DC
0x00433178
0x00433D10
0x00437FF0
0x00412647
0x00433178
0x00403AEF
0x004407F8
0x0043FC82
0x004B7038
0x004B6669
due to changes made in my program, the syntax of the call to the constructor changed (I made objects to have an owner). This call above is incorrect because the Proprio parameter is missing. Why does the compiler crash, although it just has to report an error?
Additional information:
Reporter: MrNoop
EMail: mrnoop at the-asw dot com
Mantis conversion info:
- Mantis ID: 4103
- OS: WIN32
- Version: 1.0.6
- Fixed in version: 1.0.7