RFR: 8263718: unused-result warning happens at os_linux.cpp [v3]

Yasumasa Suenaga ysuenaga at openjdk.java.net
Tue Mar 30 05:58:17 UTC 2021


> I tried to build OpenJDK with g++-10.2.1_pre1-r3 on Alpine Linux 3.13.2, but I saw following warning:
> 
> 
>   668 | alloca(((pid ^ counter++) & 7) * 128);
>       | ^
> cc1plus: all warnings being treated as errors

Yasumasa Suenaga has updated the pull request incrementally with one additional commit since the last revision:

  Add comment

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/3042/files
  - new: https://git.openjdk.java.net/jdk/pull/3042/files/4485a021..7773498f

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3042&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3042&range=01-02

  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3042.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3042/head:pull/3042

PR: https://git.openjdk.java.net/jdk/pull/3042


More information about the hotspot-dev mailing list