error: cannot cast from type 'union jl_typemap_t' to
pointer type 'jl_value_t *' (aka '_jl_value_t *')
if(val && jl_is_function(val)) filteredNames.push_back(*s);
^~~~~~~~~~~~~~~~~~~
../src/Import.cpp:14:28: note: expanded from macro 'jl_is_function'
#define jl_is_function(v) ((jl_value_t*)jl_gf_mtable(v)->defs != jl_nothing)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Using the version described in the pull request removes some of the warnings, but the program still falls over on the following error.
Using the version described in the pull request removes some of the warnings, but the program still falls over on the following error.