RFR: 8314488: Compile the JDK as C++17 [v5]

Julian Waters jwaters at openjdk.org
Thu Jan 11 13:07:30 UTC 2024


On Thu, 11 Jan 2024 12:58:43 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> 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.
> ```

*Facepalm... I can't believe I missed something so obvious

-------------

PR Comment: https://git.openjdk.org/jdk/pull/14988#issuecomment-1887124280


More information about the build-dev mailing list