HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...
Task #774803: Emscripten clients for web.
Function pointer casts not compatible with Emscripten
update_queue_add adds all kinds of callbacks as if they are all void (*uq_callback_t)(void *data). This is actually undefined behavior in C to call a void fn(void) this way. Native platforms don't complain, but wasm and asm.js care. See http://kripken.github.io/emscripten-site/docs/porting/guidelines/function_pointer_issues.html
#2 Updated by Zoltán Žarkov almost 3 years ago
- File 0006-Change-all-callbacks-in-update_queue-to-void-cb-void.patch 0006-Change-all-callbacks-in-update_queue-to-void-cb-void.patch added
- Changed all void* unused to void *unused
#4 Updated by Marko Lindqvist almost 3 years ago
When building stub-client:
../../../src/client/gui_cbsetter.c: In function ‘setup_gui_funcs’:
../../../src/client/gui_cbsetter.c:87:39: error: assignment to ‘void ()(void)’ from incompatible pointer type ‘void ()(void *)’ [-Werror=incompatible-pointer-types]
funcs->real_conn_list_dialog_update = gui_real_conn_list_dialog_update;
#5 Updated by Zoltán Žarkov almost 3 years ago
#6 Updated by Zoltán Žarkov almost 3 years ago
- File S3_0-Change-all-callbacks-in-update_queue-to-void-cb-void.patch S3_0-Change-all-callbacks-in-update_queue-to-void-cb-void.patch added
This one is actually S3_0
#11 Updated by Zoltán Žarkov almost 3 years ago
- File 0001-Change-all-callbacks-in-update_queue-to-void-cb-void.patch 0001-Change-all-callbacks-in-update_queue-to-void-cb-void.patch added
Did xaw and sdl clients.