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

Kevin Rushforth kcr at openjdk.org
Thu Apr 10 22:49:13 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.

Reviewer: @lukostyra

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

PR Comment: https://git.openjdk.org/jfx/pull/1771#issuecomment-2795332140


More information about the openjfx-dev mailing list