Skip to content
Snippets Groups Projects
Commit c876b0f7 authored by Alaric Senat's avatar Alaric Senat Committed by Steve Lhomme
Browse files

emscripten: extra_checks: ban incompatible function casts

Emscripten is known to deal badly with function casts to incompatible
types [^1]. This patch prevent us to accidentally merge harmful UB casts
to wasm enabled code. The warning is really strict but is compliant to the
standard. Code that wants to use function cast should be disabled from
the wasm platform.

[^1]: https://emscripten.org/docs/porting/guidelines/function_pointer_issues.html
parent e99be279
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment