Delphi Compiler Error
F2446 Unit ‘%s’ is compiled with unit ‘%s’ in ‘%s’ but different version ‘%s’ found
Reason for the Error & Solution
This error occurs if a unit must be recompiled to take in changes to another unit, but the source for the unit that needs recompilation is not found.
Note: This error message may be experienced when using inline functions. Expansion of an inline function exposes its implementation to all units that call the function. When a function is inline, modifications to that function must be reflected with a recompile of every unit that uses that function. This is true even if all of the modifications occur in the implementation section. This is one way in which inlining can make your units more interdependent, requiring greater effort to maintain binary compatibility. This is of greatest importance to developers who distribute .dcu files without source code.