From 289cf16bf2ecce24527243e9d024239e9952594b Mon Sep 17 00:00:00 2001 From: Edward Diener Date: Sat, 28 Mar 2020 22:39:02 -0400 Subject: [PATCH] Embarcadero C++ clang-based compilers only support C++17, so cxxstd is turned off for all levels. (#559) Co-authored-by: Edward Diener --- src/tools/embarcadero.jam | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/src/tools/embarcadero.jam b/src/tools/embarcadero.jam index bce2af574..8982704ad 100644 --- a/src/tools/embarcadero.jam +++ b/src/tools/embarcadero.jam @@ -158,6 +158,26 @@ toolset.inherit-flags embarcadero windows/static windows/shared off + 98 + 03 + 0x + 11 + 1y + 14 + 1z + 17 + 2a + latest + 98/iso + 03/iso + 0x/iso + 11/iso + 1y/iso + 14/iso + 1z/iso + 17/iso + 2a/iso + latest/iso ; if [ MATCH (--debug-configuration) : [ modules.peek : ARGV ] ] { @@ -231,7 +251,6 @@ rule init ( version ? : command * : options * ) local condition = [ common.check-init-parameters embarcadero : version $(version) ] ; handle-options $(condition) : $(command) : $(options) ; - clang.init-cxxstd-flags embarcadero : $(condition) : $(cl_version) ; # Support for the Embarcadero root directory. If the Embarcadero binary # directory is not in the PATH we need to tell the underlying clang