我可以为同一个应用程序使用经典的 Borland & clang 编译器吗

Can I use classic Borland & clang compiler for the same application

我正在寻找有关如何将 C++Builder 5 项目迁移到 Embarcadero C++Builder 11 的建议。

一些 DLL 只能用 'classic' Borland 编译器编译。其余的可以用Clang编译器编译。

我可以在同一个应用程序中使用 2 个不同的编译器吗?

I'm looking for some advice on how to migrate a C++Builder 5 project to Embarcadero C++Builder 11.

这是一个非常巨大的升级。几十年来,这两个版本之间发生了很多变化。对于初学者,我希望您正在阅读 Embarcadero Migration and Upgrade Center 中的文档。

Some of the DLLs can only be compiled with the 'classic' Borland compiler. The rest can be compile with the Clang-compiler.

Can I use 2 different compilers in the same application?

如果 EXE 和 DLL 都被编译为独立的(即没有运行时包、没有动态 RTL、没有共享内存管理器、不共享目标文件等),并且它们都遵循关于内存的安全准则管理和跨 DLL 边界仅使用安全和兼容的 POD 数据类型等,那么在这方面,应该可以使用不同的编译器编译每个模块。