xparq / Out_of_Nothing

Versatile entity-based simulation & visualization/gamification framework PROTOTYPE
0 stars 0 forks source link

`bad_any_cast` in Binding.cpp, after the changes for GCC... #540

Closed xparq closed 6 months ago

xparq commented 6 months ago

(Follow-up of #195: GCC build)

    } catch(std::bad_any_cast&) {
//!! This happens with GCC, but not with MSVC:
//!!cerr << "- Binding ERROR: Type mismatch for a binding with saved type \"" <<type_name<< "\" ["<<Binding::string_fn_ptr_name<<"]!\n";
        // Nothing added to 'out', continuing...
    } catch(...) {
xparq commented 6 months ago

Wow, suddenly started happening with MSVC, too! :-o

Binding ERROR: Type mismatch for a binding with saved type "float" [string_fn_ptr]!

Now that kinda suggests that changes in Binding to let it compile with GCC (-> commits related to #195!) have caused this.