Re: RFR: 8346436: Compilation with clang fails [v2]

2025-01-03 Thread Jan Kratochvil
On Fri, 20 Dec 2024 18:58:44 GMT, Phil Race wrote: >> Jan Kratochvil has updated the pull request with a new target base due to a >> merge or a rebase. The incremental webrev excludes the unrelated changes >> brought in by the merge/rebase. The pull request contain

Re: RFR: 8346436: Compilation with clang fails [v2]

2025-01-03 Thread Jan Kratochvil
edefined] >48 | #define dprintf(s) > | ^ > /usr/include/bits/stdio2.h:121:12: note: previous definition is here > 121 | # define dprintf(fd, ...) \ > | ^ Jan Kratochvil has updated the pull request with a new target base due to a merge or a rebase. The incremental

RFR: 8346436: Compilation with clang fails

2024-12-17 Thread Jan Kratochvil
clang-18.1.8-1.fc40.x86_64 Fedora 40 x86_64 fbd76ca8edd756ff2ebbc9f6477cc1a827df67b0 src/java.desktop/unix/native/libawt_xawt/xawt/XToolkit.c:695:9: error: ignoring return value of function declared with 'warn_unused_result' attribute [-Werror,-Wunused-result] 695 | write ( AWT_WRITEPIPE, &wa