Target options

Top  Previous  Next

User interface > Translation options > Target options

The target options are part of the translation options and specify the operation system where the resulting C++ code shall be executed as well as the compiler which shall be used..

 

OptionsTarget

 

 

Compiler

 

 

Delphi2CB only supports the C++Builder. Therefore the top of the page looks like:

 

OptionsTargetDelphi2CB

 

 

Precompiled header

 

Target platform

 

 

C++ version

 

There is a rough distinction between old C++98 compilers and new compilers for C++11 or later (C++14, C++ 17 ...). For C++Builder this distinction corresponds to the distinction between the classic compiler and clang.  A finer distinction is made in the auxiliary code.

The selection of the version determines how arrays-of-const are constructed, whether structures are zero-initialized etc.

The support for C++98 isn't as complete as that for C++11. In cases, where there is no solutionn for C++98 the solution for C++11 is output. For example this is the case for nested functions.

 

 

 



This page belongs to the Delphi2Cpp Documentation

Delphi2Cpp home  Content