MarkOates / blast

0 stars 0 forks source link

Functions sin and cos are not recognized in Win #49

Open MarkOates opened 3 months ago

MarkOates commented 3 months ago

Primary development system is MacOS with clang. When using cos and sin they work as expected and there are no warnings or errors. On Windows with gcc, there are compile errors for missing symbols. At the time of this writing, there are no known ways to catch this error, other than building on Windows. There should be some kind of solution to catch the errors before Windows.

Some ideas:

Related discussion on SO: https://stackoverflow.com/questions/20903307/c-cosine-works-without-the-std-namespace-why