Re: [PATCH v2 07/20] hw/net/can: Fix type conflict of GLib function pointers

2025-04-25 Thread Francisco Iglesias
On Tue, Apr 22, 2025 at 02:27:11PM +0900, Kohei Tokunaga wrote: > On Emscripten, function pointer casts can result in runtime failures due to > strict function signature checks. This affects the use of g_list_sort and > g_slist_sort, which internally perform function pointer casts that are not > su

Re: [PATCH v2 07/20] hw/net/can: Fix type conflict of GLib function pointers

2025-04-25 Thread Philippe Mathieu-Daudé
On 22/4/25 07:27, Kohei Tokunaga wrote: On Emscripten, function pointer casts can result in runtime failures due to strict function signature checks. This affects the use of g_list_sort and g_slist_sort, which internally perform function pointer casts that are not supported by Emscripten. To avoi

[PATCH v2 07/20] hw/net/can: Fix type conflict of GLib function pointers

2025-04-21 Thread Kohei Tokunaga
On Emscripten, function pointer casts can result in runtime failures due to strict function signature checks. This affects the use of g_list_sort and g_slist_sort, which internally perform function pointer casts that are not supported by Emscripten. To avoid these issues, g_list_sort_with_data and