Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 496330 Details for
Bug 631452
www-client/chromium-62.0.3202.18 fails to compile "error: #error This file requires compiler and library support for the ISO C++ 2017 standard."
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch derived from upstream's fix
crc32c-gnu++17fix.patch (text/plain), 1.08 KB, created by
bluebird
on 2017-09-24 21:41:28 UTC
(
hide
)
Description:
Patch derived from upstream's fix
Filename:
MIME Type:
Creator:
bluebird
Created:
2017-09-24 21:41:28 UTC
Size:
1.08 KB
patch
obsolete
>https://bugs.gentoo.org/show_bug.cgi?id=631452 >https://github.com/google/crc32c/commit/d0f929a5db87cb34d03afb0d8e8bfc95b8f786e3#diff-886bcdea57e134830814003035c255ce > >--- a/third_party/crc32c/src/include/crc32c/crc32c.h >+++ b/third_party/crc32c/src/include/crc32c/crc32c.h >@@ -33,22 +33,18 @@ > string.size()); > } > >-#if defined(__has_include) >+#if __cplusplus > 201402L > #if __has_include(<string_view>) >-// Visual Studio provides a <string_view> header even in C++11 mode. When >-// included, the header issues an #error. (C1189) >-#if !defined(_MSC_VER) || __cplusplus >= 201703L > #include <string_view> > >-// Comptues the CRC32C of the bytes in the string_view. >+// Computes the CRC32C of the bytes in the string_view. > inline uint32_t Crc32c(const std::string_view& string_view) { > return Crc32c(reinterpret_cast<const uint8_t*>(string_view.data()), > string_view.size()); > } > >-#endif // !defined(_MSC_VER) || __cplusplus >= 201703L > #endif // __has_include(<string_view>) >-#endif // defined(__has_include) >+#endif // __cplusplus > 201402L > > } // namespace crc32c >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 631452
:
495476
| 496330