• Create Account

Banner advertising on our site currently available from just \$5!

### #Actualjeff8j

Posted 26 June 2013 - 10:02 AM

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)


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

### #1jeff8j

Posted 26 June 2013 - 09:59 AM

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)


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.

So a solution or help hiding this warning would be greatly appreciated! Thanks

PARTNERS