E2236 コンストラクタとデストラクタは,%s 呼び出し規約にしたがう必要があります (Delphi)
エラーと警告のメッセージ(Delphi) への移動
コンストラクタまたはデストラクタのデフォルトの呼び出し規約を変更しようとしています。
program Produce; type TBase = class constructor Create; pascal; end; constructor TBase.Create; begin end; begin end. program Solve; type TBase = class constructor Create; end; constructor TBase.Create; begin end; begin end.
{ このエラーの唯一の解決策は,次のように,コンストラクタまたはデストラクタの定義から問題の呼び出し規約指令を削除すること }