Created attachment 30251 [details] test code file Any code using std::regex_token_iterator fails to link with gcc-4.8.1. See the attached code sample. ./gcc-4.8.1/bin/g++ -std=c++11 -Wl,-rpath ./gcc-4.8.1/lib64 regex.cpp -o regex /tmp/ccmknhZw.o: In function `main': regex.cpp:(.text+0x10): undefined reference to `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_token_iterator()' collect2: error: ld returned 1 exit status
Even if it linked it probably wouldn't work because most of <regex> is unimplemented. *** This bug has been marked as a duplicate of bug 53631 ***
This is fixed in 4.9.0.
Should be fixed by http://gcc.gnu.org/ml/gcc-cvs/2013-07/msg00599.html