-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile Error with MSVC 19.04 #1485
Comments
Just wondering if you had a change to take a look at this, since this is the default compile chain for windows on conda forge :) |
I don't have a Windows machine to try on (luck me), but googling finds this in #define CopyMemory RtlCopyMemory So that's probably the culprit, because otherwise the error makes no sense. Since yelling at microsoft for doing such stuff probably won't solve the problem, the two possible ways I can think of to fix it are:
I"ll make a PR for 2., should be trivial. Mentioning @chuckatkins as that sounds like something that should be fixed before the release. |
This simply renames `helper::CopyMemory` to `helper::CopyMemoryBlock` to avoid a name clash with the `CopyMemory` defined in the MSVC build in ornladios#1485.
With #1575 fixing the initial report, the following compile issue with
https://ci.appveyor.com/project/conda-forge/staged-recipes/builds/25631833 Using |
This simply renames `helper::CopyMemory` to `helper::CopyMemoryBlock` to avoid a name clash with the `CopyMemory` defined in the MSVC build in ornladios#1485. (cherry picked from commit 5f9bdb4)
This simply renames `helper::CopyMemory` to `helper::CopyMemoryBlock` to avoid a name clash with the `CopyMemory` defined in the MSVC build in ornladios#1485. (cherry picked from commit 5f9bdb4)
For further issues, see the report in conda-forge/adios2-feedstock#3 Currently stuck at linker errors. |
Linker issue is now solved as well. |
Compiler: MSVC 19.0.24241.7
ADIOS2: v2.4.1-rc1
Compiling on Windows with MSVC and CMake+NMake results in an error https://ci.appveyor.com/project/conda-forge/staged-recipes/builds/25153984 of the form
Ref: conda-forge/staged-recipes#8526
The text was updated successfully, but these errors were encountered: