On Mon, 3 Jan 2022 08:10:27 GMT, Aleksey Shipilev <sh...@openjdk.org> wrote:

> Seems like a missing include. C++ docs say `offsetof` is from `<cstddef>`, 
> adding that include explicitly fixes the build. Seems to only happen with 
> older GCCs, but it seems to be a happy accident it works on newer ones, 
> probably through the transitive include somewhere.
> 
> Additional testing:
>  - [x] Linux x86_64 fastdebug `tools/jpackage` tests
>  - [x]  Linux x86_64 release `tools/jpackage` tests

This pull request has now been integrated.

Changeset: 14a90e53
Author:    Aleksey Shipilev <sh...@openjdk.org>
URL:       
https://git.openjdk.java.net/jdk18/commit/14a90e536b86a8fb8d5f0272ec03359e44638da5
Stats:     1 line in 1 file changed: 1 ins; 0 del; 0 mod

8279370: jdk.jpackage/share/native/applauncher/JvmLauncher.cpp fails to build 
with GCC 6.3.0

Reviewed-by: almatvee, asemenyuk

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

PR: https://git.openjdk.java.net/jdk18/pull/74

Reply via email to