On Saturday, February 7, 2015 at 5:25:10 AM UTC+1, Alon Zakai wrote:
>
> You may need to add 'void' to clarify that there are no parameters in the 
> C header, as in
>
> extern void broadwayOnHeadersDecoded(void);
>

Yes, this fixed the warning.  

The other warnings stem from EXPORTED_FUNCTIONS in the emcc invocation. 
> HEAP8 etc. shouldn't be in that list, it's just for functions.
>
> JS library functions (extern C, implemented in .js file used by 
> --js-library) are normally not exported, as they are used from compiled 
> code. It does look like they are exported (on the Module object) if 
> requested, but the warning is spurious. It's not trivial to fix, sadly.
>
> But if you are not using them from compiled code, and you are not using 
> them when exported on Module, there is no need to export them. 
>

The simplest solution in this case seems not to add library functions to 
the exported functions list.

Thanks (I missed your reply).
 

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to