I receive these two warnings when compiling code with complex number 
multiplication and division:

warning: unresolved symbol: __divdc3
warning: unresolved symbol: __muldc3

I can reproduce the message by compiling this:

#include <complex.h>

void cdiv() {
    double complex a, b, c;
    a = 2.0+3.0*I;
    b = 3.0+4.0*I;
    c = a / b;
    c = a * b;
}

The message is received using emcc 1.34.1.  If I change the type to float 
complex I get:

warning: unresolved symbol: __mulsc3
warning: unresolved symbol: __divsc3

Is there a library that I should be linking to?  Perhaps something is 
missing from Emscripten.  Should I create an issue for this?

Regards,
Richard

-- 
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