Show: Delphi C++
Display Preferences

BCC32C

From RAD Studio
Jump to: navigation, search

Go Up to Clang-enhanced C++ Compilers


BCC32C is a RAD Studio C++ compiler for 32-bit Windows. RAD Studio provides BCC32C as an optional alternative to BCC32, which is the previous-generation C++ compiler for 32-bit Windows.

BCC32C is based on Clang. See Clang-enhanced C++ Compilers for information that the BCC32C compiler has in common with other Clang-enhanced C++ compilers.

Note: For 64-bit Windows, use BCC64.

General Information

Field Value
Clang Version 3.3
LLVM Version 3.3
Calling Conventions
  • MSVC __fastcall
  • C
  • Pascal
  • Register
  • Standard Call
Name Mangling Itanium
Standard Library Dinkumware
Additional Libraries compiler-rt

Output Files

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

How to Enable BCC32C

BCC32C does not replace BCC32, RAD Studio gives you the option to choose the compiler for each of your projects. BCC32 is the default C++ compiler for 32-bit Windows.

To enable BCC32 for a specific project, select Project > Options > C++ Compiler and, under Classic Compiler, disable the "Use 'classic' Borland compiler" option.

Writing C++ Code for BCC32C

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

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

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

See Also

Personal tools
In other languages
Previous Versions
Assistance