RFR: 8354318: freetype.c: compilation error: 'incompatible pointer type' with gcc 14

Lukasz Kostyra lkostyra at openjdk.org
Fri Apr 11 06:55:37 UTC 2025


On Thu, 10 Apr 2025 22:41:02 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

> This PR fixes a bug where a local variable was declared to be the wrong type, causing an error at compilation time when compiling with gcc 14. gcc 14 rejects assignments of incompatible pointer types without an explicit cast. In this case, the solution is declare the variable to be of the correct type in the first place.

LGTM

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

Marked as reviewed by lkostyra (Reviewer).

PR Review: https://git.openjdk.org/jfx/pull/1771#pullrequestreview-2759326136


More information about the openjfx-dev mailing list