RFR: 8304674: File java.c compile error with -fsanitize=address -O0
SendaoYan
syan at openjdk.org
Tue Apr 1 07:30:46 UTC 2025
On Mon, 31 Mar 2025 12:57:38 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:
> While I normally advocate using DISABLE_WARNING in makefiles instead of pragmas, in this particular case I wonder if not a pragma in the `LEAVE` macro would be better?
PR has been changed to use `#pragma GCC diagnostic ignored "-Wreturn-type"` instead of used DISABLE_WARNING in makefile. Change has been verified locally.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24318#issuecomment-2768435238
More information about the build-dev
mailing list