-
Notifications
You must be signed in to change notification settings - Fork 174
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
Build of tests fails with ClangCl 15.0.0 compiler frontend for Visual Studio (Windows build) #546
Comments
Hello
I don't know about mktemp() yet, but there's a _mktemp as well. Maybe this #if code and add mktemp->_mktemp? |
Yes, this sounds very reasonable. I have to admit that I'm also not too deep into |
At least it doesn't break our CI. Can you try the patch at bgoglin@0de22a5 or or a tarball from https://ci.inria.fr/hwloc/view/all/job/bgoglin/491/ ? |
Awesome, yes this resolves the build issue! Thanks a lot! |
What version of hwloc are you using?
I'm using hwloc
2.8.0
compiled from upstream sources (this official github repo).Which operating system and hardware are you running on?
Compiling on Microsoft Windows 11 with the ClangCl x64 compiler frontend from LLVM 15.0.0 with Visual Studio 17.3.3 (current latest). The build uses the contributed cmake file. I'm using cmake
3.24.2
(current latest).Details of the problem
The build of the tests fails on ClangCl, with the following problem:
It looks as if LLVM deprecated those methods, or maybe just an include is missing? But I could not quickly find which include that may be. Microsoft recommends using the methods with underscore (like
_open
) instead, so maybe that could help?The text was updated successfully, but these errors were encountered: