Closed wuedidada closed 4 years ago
restbed/source/corvusoft/restbed/string.cpp:142:96: note: deduced conflicting types for parameter _Bi_iter’ (‘std::basic_regex’ and ‘const char*’) const auto expression = regex_replace( target, escape, "\$1" );
error: no matching function for call to ‘regex_replace(const string&, const regex&, const char [4])’
gcc 4.8? should upgrade to 4.9?
Yes please upgrade. Restbed requires a C++11 complier.
restbed/source/corvusoft/restbed/string.cpp:142:96: note: deduced conflicting types for parameter _Bi_iter’ (‘std::basic_regex’ and ‘const char*’)
const auto expression = regex_replace( target, escape, "\$1" );