unit “compiled with a different version” … Are the rules in Freepascal exactly the same as they are in Delphi?

I found this question:

Why are my units “compiled with a different version” of my own files?

BUT that question is about Delphi, not freepascal.

Also, in Delphi, I find that an answer to that question omits important information:

From Toon Krijthe’s answer: Jan 9, 2009 at 19:52:

Both unit A and B use unit C and unit B uses C. Unit B and C are
compiled and for some reason the source of unit B is not available.
Now Unit C is changed (any change will do and is recompiled) And the
dcu of unit C differs from the unit C used by unit B, so unit B needs
to be recompiled too. But unfortunately, the source is not available
so the compiler gives up.

In Delphi, that answer is only partially correct.

In Delphi, the real rule is like this:

You can change the implementation part of a unit as much as you like, and that alone should never cause this “unit different version” problem (unless there is a bug in Delphi itself – however I am not aware of any such bug, if such even exists).

However, as soon as you change anything in the interface part, it will immediately trigger this error condition, if even one unit without full source available uses this now changed unit.

My question:

What about Freepascal ?

Does Freepascal have exactly the same rule as Delphi does (meaning it is OK to change only the implementation part, but one should NOT change the interface part, especially if it is one of those units that come with the compiler itself) ?

Or does Freepascal have even more strict rule about this than Delphi does, meaning that in Freepascal even a change in the implementation section only could cause problems ?

And finally:

Can I assume that Ultibo follows the same rules as freepascal does, since Ultibo seems to be a special, modified version of Freepascal/Lazarus -combination ?

In Delphi, the behavior is implemented using a compiler-calculated checksum of the interface section. So, as long as the interface section stays the same, no problem at all. But as soon as you make any change to the interface section, the checksum will no longer match, triggering a recompile of any/all units that use this now changed unit.

Unfortunately my experience with Freepascal is minimal compared to my experience with Delphi, so I don’t really know, if Freepascal follows the same logic and rules here that Delphi does.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật