BCC32

From RAD Studio
Jump to: navigation, search

Go Up to C++ Compilers


BCC32 is the RAD Studio C++ compiler for 32-bit Windows. RAD Studio provides BCC32C, a newer C++ compiler for 32-bit Windows that is based on Clang, as an optional alternative to BCC32.

Note: For 64-bit Windows, use BCC64.

General Information

Field Value
Calling Conventions
  • MSVC __fastcall
  • C
  • Pascal
  • Register
  • Standard Call
Name Mangling Borland
Standard Library Dinkumware

Output Files

File Type File Extension File Format
Executable .exe PE32
Shared Library .dll PE32
Static Library .lib OMF
Compiled Object .obj OMF

Writing C++ Code for BCC32

To write C++ code specifically for BCC32, use:

#if defined(__BORLANDC__) && !defined(__clang__) && defined(_WIN32) && !defined(_WIN64)
    // Your code.
#endif

For more information, see Clang-enhanced C++ Compilers, Predefined Macros.

Topics

See Also