On Wed, 5 Apr 2023 10:47:17 GMT, Matthias Baesken <mbaes...@openjdk.org> wrote:

> On Alpine Linux, using gcc12, we run now into this compile warning as error :
> In file included from 
> /openjdk/linuxmuslx86_64/jdk/test/jdk/java/io/File/libGetXSpace.c:31:
> /usr/include/sys/errno.h:1:2: error: #warning redirecting incorrect #include 
> <sys/errno.h> to <errno.h> [-Werror=cpp]
>     1 | #warning redirecting incorrect #include <sys/errno.h> to <errno.h>
>       | ^~~~~~~
> cc1: all warnings being treated as errors
> 
> We probably better just include <errno.h> like it is done at almost all other 
> places in the codebase.

Marked as reviewed by alanb (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/13349#pullrequestreview-1372658193

Reply via email to