-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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-8.0 (C++ 17 standard) compile StrFormat failed #271
Comments
|
Thanks for the report. This appears to be a regression in the upcoming Clang release. We may have caught it in time to fix. Here's a reproducer on godbolt: https://godbolt.org/z/k5RlV9 I'll do more investigation in the morning. |
Then this problem should be independent of Absl, GCC-8.0 Clang-7.0 C++17/C++14 did not find this error. |
|
Here's the fully reduced bug: https://godbolt.org/z/ksAjmq I'll close this once I know if the fix will make it into Clang 8. |
|
@EricWF Thanks. |
|
Rebuild clang and use it. This issue has been fixed. Thanks @EricWF |
|
Thanks for confirming the fix. I can confirm the fix will be a part of Clang 8.0 :-) |
When I build some program which depend with absl str_format use Clang-8.0 (C++ 17 standard ). The compiler report:
OS:
# lsb_release No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.2 LTS Release: 18.04 Codename: bionicLinux Kernel:
Clang Is 8.0 RC3, Version Details:
Code:
cmake
Output:
The text was updated successfully, but these errors were encountered: