RFR: 8313396: Portable implementation of FORBID_C_FUNCTION and ALLOW_C_FUNCTION [v2]

Kim Barrett kbarrett at openjdk.org
Sun Jan 5 22:16:35 UTC 2025


On Sun, 5 Jan 2025 14:53:01 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

> Thanks! This has solved one of the problems, but not all. The next one is:
> 
> ```
> globalDefinitions_gcc.hpp:55:
> In file included from /usr/include/fcntl.h:242:
> /usr/include/unistd.h:181:8: error: 'noreturn' attribute does not appear on the first declaration
> extern _NORETURN(void, _exit)(int);
>        ^

Drat.  I forgot that posix _exit comes from unistd.h.  Back to work...

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

PR Comment: https://git.openjdk.org/jdk/pull/22890#issuecomment-2571767901


More information about the graal-dev mailing list