Yes the libraries are pure C, could be please elaborate a little that what do you mean by structured exceptions.
When the code was compiles visual micro, there were a lot of errors regarding the cmath library, none of its functions were being recognized.
Should i also attach the code?