[CM] s7_complex does not compile for MSVC
Da Shen
da at liii.pro
Mon Nov 18 19:12:04 PST 2024
Here are the related code snippets:
#if S7_WITH_COMPLEX_VECTORS
#if __cplusplus
#include <complex>
typedef std::complex<s7_double> s7_complex;
#else
#include <complex.h>
typedef double complex s7_complex;
#endif
#endif
see https://learn.microsoft.com/en-us/cpp/standard-library/complex?view=msvc-170 <https://learn.microsoft.com/en-us/cpp/standard-library/complex?view=msvc-170 >
And here is the failed github action:
https://github.com/LiiiLabs/goldfish/actions/runs/11904848843/job/33174341096?pr=164 <https://github.com/LiiiLabs/goldfish/actions/runs/11904848843/job/33174341096?pr=164 >
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20241119/1d02216f/attachment.html>
More information about the Cmdist
mailing list