RFR: 8314488: Compile the JDK as C++17 [v5]
Magnus Ihse Bursie
ihse at openjdk.org
Thu Jan 11 13:01:26 UTC 2024
On Wed, 10 Jan 2024 13:11:38 GMT, Julian Waters <jwaters at openjdk.org> wrote:
>> Compile the JDK as C++17, enabling the use of all C++17 language features
>
> Julian Waters has updated the pull request incrementally with one additional commit since the last revision:
>
> Remove unnecessary -std=c++17 option in Lib.gmk
There is a typo in adlc:
diff --git a/make/hotspot/gensrc/GensrcAdlc.gmk b/make/hotspot/gensrc/GensrcAdlc.gmk
index 0898d91e1c2..bb356476847 100644
--- a/make/hotspot/gensrc/GensrcAdlc.gmk
+++ b/make/hotspot/gensrc/GensrcAdlc.gmk
@@ -51,7 +51,7 @@ ifeq ($(call check-jvm-feature, compiler2), true)
endif
# Set the C++ standard
- ADLC_CFLAGS += $(ADLC_LANGSTD_CXXFLAG)
+ ADLC_CFLAGS += $(ADLC_LANGSTD_CXXFLAGS)
# NOTE: The old build didn't set -DASSERT for windows but it doesn't seem to
# hurt.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14988#issuecomment-1887114509
More information about the build-dev
mailing list