This symbol is an object (maybe a lambda?) that is defined inside
another function (init_GPU). However, this isn't what Ben is trying to
call.

-erik

On Fri, Nov 21, 2014 at 10:59 AM, Jeff Waller <[email protected]> wrote:
> bizarro% echo __ZZL7initGPUP9resamplerPKjS2_jE12__FUNCTION__01 |c++filt
> initGPU(resampler*, unsigned int const*, unsigned int const*, unsigned
> int)::__FUNCTION__
>
>
> I'm not entirely sure what that even means (virtual table?), but you know
> what? I bet you compiled this with clang because when I do that same thing
> on Linux, it's like "waaaaa?". Because of that, and exceptions, and virtual
> table layout, and the standard calling for no standard ABI, I agree, can't
> you wrap all the things you want to export with extern "C"?



-- 
Erik Schnetter <[email protected]>
http://www.perimeterinstitute.ca/personal/eschnetter/

Reply via email to