Skip to content

allow the use of LAPACK_COMPLEX_CPP when using MSVC compiler#5244

Merged
martin-frbg merged 1 commit intoOpenMathLib:developfrom
chitao1234:develop
May 10, 2025
Merged

allow the use of LAPACK_COMPLEX_CPP when using MSVC compiler#5244
martin-frbg merged 1 commit intoOpenMathLib:developfrom
chitao1234:develop

Conversation

@chitao1234
Copy link
Copy Markdown
Contributor

Currently, openblas force the use complex.h when building lapack for msvc, this commit allow it to also use the C++ complex using LAPACK_COMPLEX_CPP macro as it is in the non msvc case.

@martin-frbg
Copy link
Copy Markdown
Collaborator

MSVC is clearly not my forte, but I added this in response to #4073 - would we need an MSVC version check here perhaps ?

@chitao1234
Copy link
Copy Markdown
Contributor Author

I guess we do not need a version check for MSVC, I checked that std::complex is present all the way back in visual studio .net 2003.

@martin-frbg martin-frbg added this to the 0.3.30 milestone May 10, 2025
@martin-frbg martin-frbg merged commit 2320e0b into OpenMathLib:develop May 10, 2025
85 of 86 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants