I’m trying and compile some C code in a native extension.
I get "warning as errors " like this one:
invalid conversion from void* to double*
Obviously, it needs
-fpermissive flag with the C++ compiler.
So i tried to put this in my
name: "dmp" platforms: x86_64-linux: context: flags: ["-fpermissive"]
But now, i get this error :
invalid flag - 'flags': '-fpermissive'
-fpermissive it a poor work-around, but i’m using a 3rd party lib which contains too much of this, and at least, i’d like to make a try for quick compiling it before deep corrections.
Thank your for reading