[fpc-devel] Optimization breaks check for overridden function / Is there a better way to check?
    Bart 
    bartjunk64 at gmail.com
       
    Sat Oct 18 22:39:03 CEST 2025
    
    
  
On Fri, Oct 17, 2025 at 9:33 PM Sven Barth via fpc-devel
<fpc-devel at lists.freepascal.org> wrote:
> David's problem is *not* due to a corruction or a bug, but due to an
> optimization that FPC performs that leads to different behavior, namely
> changing virtual methods that are empty to EmptyMethod to reduce the
> number of duplicate (empty) methods in the binary.
Does that mena that such a check is in essence invalid?
IIRC then we have such a check in TCustomEdit in LCL....
-- 
Bart
    
    
More information about the fpc-devel
mailing list