On Wed, 17 May 2023 12:26:22 GMT, xpbob <[email protected]> wrote:
> configure --enable-debug
>
> error: infinite recursion detected [-Werror=infinite-recursion]
> 193 | void VMError::reattempt_test_hit_stack_limit(outputStream* st)
>
> configure
>
> java.desktop/share/native/libharfbuzz/graph/../hb-ot-layout-common.hh:1161:24:
> error: possibly dangling reference to a temporary
> [-Werror=dangling-reference]
> 1161 | const LangSys& l = this+_.second.offset;
src/hotspot/share/utilities/compilerWarnings_gcc.hpp line 49:
> 47: // Disable -Winfinite-recursion which is introduced in GCC 12.
> 48: #if !defined(__clang_major__) && (__GNUC__ >= 12)
> 49: #define PRAGMA_INFINITE_RECURSION_IGNORED
> PRAGMA_DISABLE_GCC_WARNING("-Winfinite-recursion")
How about moving this line after Line 44?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14032#discussion_r1197283986