Jump to content
karlxnaizu

How to change c++ version in RAD 11?

Recommended Posts

How to change c++ version in RAD 11?  want to change the c++ version from c++ 11 to something newer than this.

Share this post


Link to post

In RAD Studio 11 (and since 10.3), only the Windows clang compilers support C++14 and C++17, the rest of the clang compilers support only C++11.  See Modern C++ Features Supported by RAD Studio Clang-enhanced C++ Compilers for details.

 

You should not have to do anything extra to enable C++17 by default when compiling for Windows.  However, if you want to specify a specific standard version, you can do so manually in the project options via "C++ Compiler > Advanced > Other options  > Additional options to pass to the compiler", eg:

3B2D0529-A327-4E0C-8D79-9C7BA94430CA.thumb.png.75d396ef3c0020e83d24984eb6f04e69.png

 

Also see How to set C++ language standard in C++ Builder on StackOverflow.

Edited by Remy Lebeau
  • Like 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×