Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Ports
twinkle
Revert-Build-fix-for-a-probably-broken-std-matc...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Revert-Build-fix-for-a-probably-broken-std-match_res.patch of Package twinkle
From: Michal Kubecek <mkubecek@suse.cz> Date: Tue, 14 Jul 2015 08:44:08 +0200 Subject: Revert "Build fix for a (probably?) broken std::match_results::format() overload" Patch-mainline: Never, workaround for gcc 4.8 bug This reverts commit db51799e5b64e406bb83576ad609075142c26a86. As std::regex is broken in gcc < 4.9, we need to stick with boost regex for gcc 4.8 builds. --- src/user.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/user.cpp b/src/user.cpp index ed24674f888a..206cf7ef1719 100644 --- a/src/user.cpp +++ b/src/user.cpp @@ -3105,9 +3105,7 @@ string t_user::convert_number(const string &number, const list<t_number_conversi try { if (std::regex_match(number, m, std::regex(i->re))) { - string result; - - m.format(std::back_inserter(result), i->fmt); + string result = m.format(i->fmt); log_file->write_header("t_user::convert_number", LOG_NORMAL, LOG_DEBUG); -- 2.4.5
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor