diff --git a/compiler/export.pas b/compiler/export.pas index 25ae506278..660a30044d 100644 --- a/compiler/export.pas +++ b/compiler/export.pas @@ -55,7 +55,7 @@ type procedure NotSupported; public edatalabel : tasmlabel; - constructor Create; + constructor Create;virtual; destructor Destroy;override; procedure preparelib(const s : string);virtual; procedure exportprocedure(hp : texported_item);virtual; @@ -180,7 +180,10 @@ end; end. { $Log$ - Revision 1.15 2001-06-06 21:58:16 peter + Revision 1.16 2001-06-28 19:46:25 peter + * added override and virtual for constructors + + Revision 1.15 2001/06/06 21:58:16 peter * Win32 fixes for Makefile so it doesn't require sh.exe Revision 1.14 2001/04/18 22:01:53 peter diff --git a/compiler/import.pas b/compiler/import.pas index 88ba6b96c0..d251a86f16 100644 --- a/compiler/import.pas +++ b/compiler/import.pas @@ -54,7 +54,7 @@ type notsupmsg : boolean; procedure NotSupported; public - constructor Create; + constructor Create;virtual; destructor Destroy;override; procedure preparelib(const s:string);virtual; procedure importprocedure(const func,module:string;index:longint;const name:string);virtual; @@ -237,7 +237,10 @@ end; end. { $Log$ - Revision 1.13 2001-04-18 22:01:54 peter + Revision 1.14 2001-06-28 19:46:25 peter + * added override and virtual for constructors + + Revision 1.13 2001/04/18 22:01:54 peter * registration of targets and assemblers Revision 1.12 2001/04/13 01:22:08 peter diff --git a/compiler/link.pas b/compiler/link.pas index 92438afe9b..591645eb46 100644 --- a/compiler/link.pas +++ b/compiler/link.pas @@ -52,7 +52,7 @@ Type SharedLibFiles, StaticLibFiles : TStringList; { Methods } - Constructor Create; + Constructor Create;virtual; Destructor Destroy;override; procedure AddModuleFiles(hp:tmodule); function FindObjectFile(s : string;const unitpath:string) : string; @@ -482,7 +482,10 @@ initialization end. { $Log$ - Revision 1.17 2001-06-03 15:15:31 peter + Revision 1.18 2001-06-28 19:46:25 peter + * added override and virtual for constructors + + Revision 1.17 2001/06/03 15:15:31 peter * dllprt0 stub for linux shared libs * pass -init and -fini for linux shared libs * libprefix splitted into staticlibprefix and sharedlibprefix diff --git a/compiler/targets/t_beos.pas b/compiler/targets/t_beos.pas index a1ed084d71..9712483e91 100644 --- a/compiler/targets/t_beos.pas +++ b/compiler/targets/t_beos.pas @@ -49,7 +49,7 @@ interface private Function WriteResponseFile(isdll:boolean;makelib:boolean) : Boolean; public - constructor Create; + constructor Create;override; procedure SetDefaultInfo;override; function MakeExecutable:boolean;override; function MakeSharedLibrary:boolean;override; @@ -496,7 +496,10 @@ initialization end. { $Log$ - Revision 1.2 2001-06-03 15:15:31 peter + Revision 1.3 2001-06-28 19:46:25 peter + * added override and virtual for constructors + + Revision 1.2 2001/06/03 15:15:31 peter * dllprt0 stub for linux shared libs * pass -init and -fini for linux shared libs * libprefix splitted into staticlibprefix and sharedlibprefix diff --git a/compiler/targets/t_fbsd.pas b/compiler/targets/t_fbsd.pas index ca1dbf6375..e76ada51ae 100644 --- a/compiler/targets/t_fbsd.pas +++ b/compiler/targets/t_fbsd.pas @@ -59,7 +59,7 @@ implementation Glibc21 : boolean; Function WriteResponseFile(isdll:boolean) : Boolean; public - constructor Create; + constructor Create;override; procedure SetDefaultInfo;override; function MakeExecutable:boolean;override; function MakeSharedLibrary:boolean;override; @@ -505,7 +505,10 @@ initialization end. { $Log$ - Revision 1.6 2001-06-03 15:15:31 peter + Revision 1.7 2001-06-28 19:46:25 peter + * added override and virtual for constructors + + Revision 1.6 2001/06/03 15:15:31 peter * dllprt0 stub for linux shared libs * pass -init and -fini for linux shared libs * libprefix splitted into staticlibprefix and sharedlibprefix diff --git a/compiler/targets/t_go32v1.pas b/compiler/targets/t_go32v1.pas index 4bf16b8f5b..d053b9def9 100644 --- a/compiler/targets/t_go32v1.pas +++ b/compiler/targets/t_go32v1.pas @@ -35,7 +35,7 @@ interface private Function WriteResponseFile(isdll:boolean) : Boolean; public - constructor Create; + constructor Create;override; procedure SetDefaultInfo;override; function MakeExecutable:boolean;override; end; @@ -245,7 +245,10 @@ initialization end. { $Log$ - Revision 1.5 2001-06-03 15:15:31 peter + Revision 1.6 2001-06-28 19:46:25 peter + * added override and virtual for constructors + + Revision 1.5 2001/06/03 15:15:31 peter * dllprt0 stub for linux shared libs * pass -init and -fini for linux shared libs * libprefix splitted into staticlibprefix and sharedlibprefix diff --git a/compiler/targets/t_go32v2.pas b/compiler/targets/t_go32v2.pas index 90eb68f9de..50b697a265 100644 --- a/compiler/targets/t_go32v2.pas +++ b/compiler/targets/t_go32v2.pas @@ -41,7 +41,7 @@ implementation Function WriteResponseFile(isdll:boolean) : Boolean; Function WriteScript(isdll:boolean) : Boolean; public - constructor Create; + constructor Create;override; procedure SetDefaultInfo;override; function MakeExecutable:boolean;override; end; @@ -473,7 +473,10 @@ initialization end. { $Log$ - Revision 1.6 2001-06-18 20:36:26 peter + Revision 1.7 2001-06-28 19:46:25 peter + * added override and virtual for constructors + + Revision 1.6 2001/06/18 20:36:26 peter * -Ur switch (merged) * masm fixes (merged) * quoted filenames for go32v2 and win32 diff --git a/compiler/targets/t_linux.pas b/compiler/targets/t_linux.pas index 1214547577..d3151cf76a 100644 --- a/compiler/targets/t_linux.pas +++ b/compiler/targets/t_linux.pas @@ -51,7 +51,7 @@ interface Glibc21 : boolean; Function WriteResponseFile(isdll:boolean) : Boolean; public - constructor Create; + constructor Create;override; procedure SetDefaultInfo;override; function MakeExecutable:boolean;override; function MakeSharedLibrary:boolean;override; @@ -697,7 +697,10 @@ initialization end. { $Log$ - Revision 1.8 2001-06-04 11:51:06 peter + Revision 1.9 2001-06-28 19:46:25 peter + * added override and virtual for constructors + + Revision 1.8 2001/06/04 11:51:06 peter * C linking fixed Revision 1.7 2001/06/03 15:15:31 peter diff --git a/compiler/targets/t_nwm.pas b/compiler/targets/t_nwm.pas index 867499293f..983a13373f 100644 --- a/compiler/targets/t_nwm.pas +++ b/compiler/targets/t_nwm.pas @@ -112,7 +112,7 @@ implementation private Function WriteResponseFile(isdll:boolean) : Boolean; public - constructor Create; + constructor Create;override; procedure SetDefaultInfo;override; function MakeExecutable:boolean;override; end; @@ -511,7 +511,10 @@ initialization end. { $Log$ - Revision 1.6 2001-06-03 15:15:32 peter + Revision 1.7 2001-06-28 19:46:25 peter + * added override and virtual for constructors + + Revision 1.6 2001/06/03 15:15:32 peter * dllprt0 stub for linux shared libs * pass -init and -fini for linux shared libs * libprefix splitted into staticlibprefix and sharedlibprefix diff --git a/compiler/targets/t_os2.pas b/compiler/targets/t_os2.pas index 3465e75e1b..d5bbc530c0 100644 --- a/compiler/targets/t_os2.pas +++ b/compiler/targets/t_os2.pas @@ -61,7 +61,7 @@ implementation private Function WriteResponseFile(isdll:boolean) : Boolean; public - constructor Create; + constructor Create;override; procedure SetDefaultInfo;override; function MakeExecutable:boolean;override; end; @@ -569,7 +569,10 @@ initialization end. { $Log$ - Revision 1.6 2001-06-03 15:15:32 peter + Revision 1.7 2001-06-28 19:46:25 peter + * added override and virtual for constructors + + Revision 1.6 2001/06/03 15:15:32 peter * dllprt0 stub for linux shared libs * pass -init and -fini for linux shared libs * libprefix splitted into staticlibprefix and sharedlibprefix diff --git a/compiler/targets/t_sunos.pas b/compiler/targets/t_sunos.pas index aef4e3a9e4..f097657635 100644 --- a/compiler/targets/t_sunos.pas +++ b/compiler/targets/t_sunos.pas @@ -62,7 +62,7 @@ implementation Glibc21 : boolean; Function WriteResponseFile(isdll:boolean) : Boolean; public - constructor Create; + constructor Create;override; procedure SetDefaultInfo;override; function MakeExecutable:boolean;override; function MakeSharedLibrary:boolean;override; @@ -534,7 +534,10 @@ initialization end. { $Log$ - Revision 1.6 2001-06-03 15:15:32 peter + Revision 1.7 2001-06-28 19:46:25 peter + * added override and virtual for constructors + + Revision 1.6 2001/06/03 15:15:32 peter * dllprt0 stub for linux shared libs * pass -init and -fini for linux shared libs * libprefix splitted into staticlibprefix and sharedlibprefix diff --git a/compiler/targets/t_win32.pas b/compiler/targets/t_win32.pas index 892c481647..e073830a7c 100644 --- a/compiler/targets/t_win32.pas +++ b/compiler/targets/t_win32.pas @@ -69,7 +69,7 @@ implementation Function WriteResponseFile(isdll:boolean) : Boolean; Function PostProcessExecutable(const fn:string;isdll:boolean) : Boolean; public - Constructor Create; + Constructor Create;override; Procedure SetDefaultInfo;override; function MakeExecutable:boolean;override; function MakeSharedLibrary:boolean;override; @@ -1456,7 +1456,10 @@ initialization end. { $Log$ - Revision 1.12 2001-06-18 20:36:26 peter + Revision 1.13 2001-06-28 19:46:25 peter + * added override and virtual for constructors + + Revision 1.12 2001/06/18 20:36:26 peter * -Ur switch (merged) * masm fixes (merged) * quoted filenames for go32v2 and win32