I am compiling with emscripten and getting a warning that doesnt seem to matter and no matter what I do I cant workaround it and so im just trying to hide it so I dont have to waid through a bunch of warnings to find errors when they occur.
The warning im getting is this
Warning: Casting a function pointer type to a potentially incompatible one (use -s VERBOSE=1 to see more) Warning: See https://github.com/kripken/emscripten/wiki/CodeGuidlinesAndLimitations#function-pointer-issues for more information on dangerous function pointer casts
I would be happy to find a solution rather than hiding the warnings but I dont think its possible without alot of changes.
Here is part of freetype that is causing this error
cur = (const FT_Module_Class* const*)FT_DEFAULT_MODULES_GET;
No matter how I change it I cant workaround the warning.
Heres how im compiling my code
emscripten-master/em++ -s FULL_ES2=1 --minify 1 -w -fpermissive entry.cpp -o "out.html"
So a solution or help hiding this warning would be greatly appreciated! Thanks
Edited by jeff8j, 26 June 2013 - 10:02 AM.