-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Update deprecated builtins __has_trivial to __is_trivially #1277
Conversation
The old builtins have been depracated in Clang 16. Since they are also present in GCC it should be fine to just use the new variants. Fixes Issue abseil#1201.
Well that seems to fail 🤣 |
Maybe tests are not actually failing but the CI servers are just unreachable. At least the |
CI is working correctly, but the results are IP blocked. (There is a way to make the results public, but I haven't had time to figure out how to do that.) I actually thought cfe27e7 fixed this issue. The remaining uses of I think the issue with your change is that some of the |
@derekmauro The issue arose with Upstream Clang/LLVM, but we were using an abseil version before cfe27e7. I'll see if cfe27e7 already fixes the issue. If so, I'll close this PR. Regardless, I think it is strange that |
cfe27e7 already fixed the issue. Cool! Closing. |
If you compile with clang 15+, the uses of trivially destructible and assignable are deprecated. This sets this configuration correctly as the ifdef to fix the build. Fixes abseil#1201 Related abseil#1277
There seem to be a few more cases here #1289 |
If you compile with clang 15+, the uses of trivially destructible and assignable are deprecated. This sets this configuration correctly as the ifdef to fix the build. Fixes abseil/abseil-cpp#1201 Related abseil/abseil-cpp#1277 Original Pull Request: abseil/abseil-cpp#1289 Task-number: QTBUG-108240 Change-Id: Id5456e3da01e16e9370f9fa6ed279360e1df523d Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/455716 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
If you compile with clang 15+, the uses of trivially destructible and assignable are deprecated. This sets this configuration correctly as the ifdef to fix the build. Fixes abseil#1201 Related abseil#1277
If you compile with clang 15+, the uses of trivially destructible and assignable are deprecated. This sets this configuration correctly as the ifdef to fix the build. Fixes abseil#1201 Related abseil#1277
If you compile with clang 15+, the uses of trivially destructible and assignable are deprecated. This sets this configuration correctly as the ifdef to fix the build. Fixes abseil#1201 Related abseil#1277
The old builtins have been depracated in Clang 16. Since they are also present in GCC it should be fine to just use the new variants.
Fixes Issue #1201.