Several MinGW compilation issue fixes, and other improvements.#127
Several MinGW compilation issue fixes, and other improvements.#127mcourteaux wants to merge 6 commits intolfreist:mainfrom
Conversation
feat(linux): Get GPU driver version without OpenCL. fix(build): Windows headers are small letter. fix(build): Some Windows API use wchar_t. fix(build): Add include for <sstream>
|
Hey, thank you for committing, could you please elaborate why macOS is failing and fix the code formatting? Thank you! |
|
I don't know why it failed. Internet people seem to suggest that the file should be renamed to end in |
…Apple systems. Upgrade clang-format to version 18 on Ubuntu 24.04.
…format version in the script.
|
@lfreist Okay, the .mm extension worked. However, the MainBord deprecation is not something I touched. However, I pushed a fix in accordance with apple documentation: https://developer.apple.com/documentation/iokit/kiomasterportdefault/ (See Discussion section) |
|
Omg. the deprecation note was a lie. Replaced NULL with 0 now. |
|
I hope this PR won't exceed my free tier GitHub action limit, haha. Joke, thanks for committing! |
|
Okay, maybe I'll grab my macbook, and try for myself to compile this on the actual system. :P This is getting ridiculous. Thanks for dealing with this nonsense 😋 |
|
No problem. I am happy you care about the MacOS support since it's part of hwinfos goal and I don't have a Mac to develop... |
Windows has a case-insensitive file system, but it seems the header files actually have a small-case spelling.
feat(macos): Implement MTLDevice detection.
feat(linux): Get GPU driver version without OpenCL.
fix(build): Windows headers are small letter.
fix(build): Some Windows API use wchar_t.
fix(build): Add include for
<sstream>