[MacPorts] #71952: dia: incompatible function pointer types initializing 'FT_Outline_MoveToFunc' (aka 'int (*)(const struct FT_Vector_ *, void *)') with an expression of type 'int (FT_Vector *, void *)' (aka 'int (struct FT_Vector_ *, void *)') [-Wincompatible-function-pointer-types] (was: incompatible function pointer types initializing 'FT_Outline_MoveToFunc' (aka 'int (*)(const struct FT_Vector_ *, void *)') with an expression of type 'int (FT_Vector *, void *)' (aka 'int (struct FT_Vector_ *, void *)') [-Wincompatible-function-pointer-types])

MacPorts noreply at macports.org
Tue Jan 28 02:26:23 UTC 2025


#71952: dia: incompatible function pointer types initializing
'FT_Outline_MoveToFunc' (aka 'int (*)(const struct FT_Vector_ *, void *)')
with an expression of type 'int (FT_Vector *, void *)' (aka 'int (struct
FT_Vector_ *, void *)') [-Wincompatible-function-pointer-types]
-----------------------+--------------------
  Reporter:  kwolcott  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  dia       |
-----------------------+--------------------
Description changed by kwolcott:

Old description:

> info:build diapsft2renderer.c:299:7: error: incompatible function pointer
> types initializing 'FT_Outline_MoveToFunc' (aka 'int (*)(const struct
> FT_Vector_ *, void *)') with an expression of type 'int (FT_Vector *,
> void *)' (aka 'int (struct FT_Vector_ *, void *)') [-Wincompatible-
> function-pointer-types]
> :info:build   299 |       paps_move_to,
> :info:build       |       ^~~~~~~~~~~~

New description:

 dia; info:build diapsft2renderer.c:299:7: error: incompatible function
 pointer types initializing 'FT_Outline_MoveToFunc' (aka 'int (*)(const
 struct FT_Vector_ *, void *)') with an expression of type 'int (FT_Vector
 *, void *)' (aka 'int (struct FT_Vector_ *, void *)') [-Wincompatible-
 function-pointer-types]
 :info:build   299 |       paps_move_to,
 :info:build       |       ^~~~~~~~~~~~

--

-- 
Ticket URL: <https://trac.macports.org/ticket/71952#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list