-
-
Notifications
You must be signed in to change notification settings - Fork 79
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
Can't build with clang compiler #190
Comments
Both problems result from IMHO a preferred solution would be to check explicitly for In the error case it is a problem in the |
In commit 03e0414 the code is changed to avoid the warning and the error. For now I used the solution with the parentheses around the function name: - __cpuid((int *) cpu_info, cpu_info_type);
+ (__cpuid)((int *) cpu_info, cpu_info_type); This may change if the author of |
Hello. I'm trying to build your library with clang and have warning and error.
Warning:
Errors
Proposed solutions:
for warning: add a guard
for error: disambiguate function call by using round brackets
or use pragma push/pop
The text was updated successfully, but these errors were encountered: