[jdk11u-dev] RFR: 8324184: Windows VS2010 build failed with "error C2275: 'int64_t'"

Sergey Bylokhov serb at openjdk.org
Fri Jan 26 20:41:36 UTC 2024


On Fri, 26 Jan 2024 01:50:51 GMT, Andrew John Hughes <andrew at openjdk.org> wrote:

> Hi all,
> 
> This pull request contains a backport of commit [4d078930](https://github.com/openjdk/jdk21u/commit/4d078930eecfacb28a7c8324f233080eaf649334) from the [openjdk/jdk21u](https://git.openjdk.org/jdk21u) repository & the clean backport commit [4f80edf](https://github.com/openjdk/jdk17u-dev/commit/4f80edfae10e83f2709f297a553d2128712e4b51) from 17u. A new bug ID, JDK-8324184, had to be created as JDK-8317331, the original bug, is private.
> 
> The commit being backported was authored by Coleen Phillimore on 2 Oct 2023 and had no reviewers.
> 
> We hit this issue in 8u, where the VS2010 build seems to be broken because of the placing of the declarations of `low`, `high` and `index` in JDK-8314295; see https://github.com/gnu-andrew/jdk8u-dev/actions/runs/7549766959/job/20554342418. The name of the private bug fix, JDK-8317331: `Solaris build failed with "declaration can not follow a statement (E_DECLARATION_IN_CODE)"`, suggests it is also an issue on Solaris which is still supported by 8u & 11u.
> 
> Backport was clean and built fine on GNU/Linux with GCC 13.
> 
> Thanks!

Marked as reviewed by serb (Reviewer).

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

PR Review: https://git.openjdk.org/jdk11u-dev/pull/2486#pullrequestreview-1846513421


More information about the jdk-updates-dev mailing list