-
Notifications
You must be signed in to change notification settings - Fork 106
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
Clang compiler support #95
Comments
Your fork already has it, right? In lieu of issue #96, I might just integrate that. |
This might have been fixed by #112. (For me even libcpuid 0.4.0 builds on Linux and macOS with Clang, but I'm using stock Clang that defines |
Yes, I can confirm that libcpuid now compiles fine with clang 3.7.0 on Linux. Please report further issues. |
And, of course, thanks for your contribution, @orivej :) |
Hi, please add clang compiler support, bcuz on MacOSX in mostly used clang as compiler. In code you can replace
#if defined(COMPILER_GCC) to #if defined(COMPILER_GCC) || defined(COMPILER_CLANG)
and this should work, also need to detect is compiler clang.The text was updated successfully, but these errors were encountered: