-
Notifications
You must be signed in to change notification settings - Fork 33
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
Use implementation independent attributes #284
Use implementation independent attributes #284
Conversation
0beb2bf
to
aecdc2f
Compare
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## master #284 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 10 10
Lines 1951 1951
=========================================
Hits 1951 1951
Flags with carried forward coverage won't be shown. Click here to find out more.
|
We run four MSVC compiler versions (see recent builds here and they seem to succeed. What compiler version do you see this problem with? Can you point us to some logs / repository? |
I'm seeing this problem with MSVC 19.34.31942.0 (MSBuild v17.4.1+9a89d02ff). |
I got the compiler version wrong on my previous comment, that was just the MSBuild version. When rerunning the job I realized the compiler version is actually MSVC 19.34.31942.0:
|
Not sure if related, but something else that I think could be the cause of this warning is that I'm using |
Interesting, we do have an MSVC 2022 build. Will need to wait for @chfast, maybe he has some insight. |
@chfast ping |
We specifically disable this warning because the idea of C++ attributes is to wrap compiler-specific features (so it is expected some attributes are going to be unknown to some compilers). Otherwise, you end up with |
This has been fixed by #286. Let me know if this works for you. |
Hey @chfast, the changes introduced in #286 work for me (Windows CI run)! Thanks for taking the time to fix it, and I understand now that adding Thanks @axic as well, for the prompt responses and attention paid to this issue. |
I think for intx.hpp this is acceptable. After the change the file should build without any warnings disabled. For intx/test I decided to disable unknown pragma warnings but this should affect users much less. |
I will make intx release soon. |
Fixes #285.