Integrated: 8354318: freetype.c: compilation error: 'incompatible pointer type' with gcc 14
Kevin Rushforth
kcr at openjdk.org
Mon Apr 14 13:10:30 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.
This pull request has now been integrated.
Changeset: 5a897ab7
Author: Kevin Rushforth <kcr at openjdk.org>
URL: https://git.openjdk.org/jfx/commit/5a897ab7017107471528ab527dac505d2e33aca9
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
8354318: freetype.c: compilation error: 'incompatible pointer type' with gcc 14
Reviewed-by: lkostyra
-------------
PR: https://git.openjdk.org/jfx/pull/1771
More information about the openjfx-dev
mailing list