[Bug libstdc++/57513] New: std::regex_token_iterator fails to link
andy at aligature dot com
gcc-bugzilla@gcc.gnu.org
Mon Jun 3 14:17:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57513
Bug ID: 57513
Summary: std::regex_token_iterator fails to link
Product: gcc
Version: 4.8.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: andy at aligature dot com
Created attachment 30251
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30251&action=edit
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
More information about the Gcc-bugs
mailing list