Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 433772 Details for
Bug 582576
games-emulation/sdlmame-0.173 fails to compile compile with gcc-4.9.3: strformat.h: error: 'cbegin' is not a member of 'std'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
cxx14-compat.patch
cxx14-compat.patch (text/plain), 665 bytes, created by
Alexander Miller
on 2016-05-09 13:33:30 UTC
(
hide
)
Description:
cxx14-compat.patch
Filename:
MIME Type:
Creator:
Alexander Miller
Created:
2016-05-09 13:33:30 UTC
Size:
665 bytes
patch
obsolete
>--- a/src/lib/util/strformat.h >+++ b/src/lib/util/strformat.h >@@ -185,9 +185,8 @@ > #include <type_traits> > #include <utility> > >-#if defined(__GLIBCXX__) && (__GLIBCXX__ < 20150413) >-namespace std >-{ >+namespace std { >+namespace mame_cxx14_compat { > template<class _Container> > inline constexpr auto > cbegin(const _Container& __cont) noexcept(noexcept(std::begin(__cont)))-> decltype(std::begin(__cont)) >@@ -198,7 +197,8 @@ > cend(const _Container& __cont) noexcept(noexcept(std::end(__cont)))-> decltype(std::end(__cont)) > { return std::end(__cont); } > } >-#endif >+using namespace mame_cxx14_compat; >+} > > namespace util { > namespace detail {
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 582576
: 433772