This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: <regex> doesn't work with g++


On 2012-07-26 16:46, Daniel Colascione wrote:
$ g++ -std=gnu++0x foo.cpp
/tmp/ccS3vCW7.o:foo.cpp:(.text$_ZNSt11basic_regexIcSt12regex_traitsIcEEC1EPKcj[std::basic_regex<char,
std::regex_traits<char> >::basic_regex(char const*, unsigned
int)]+0x60): undefined reference to `std::basic_regex<char,
std::regex_traits<char> >::_M_compile()'
collect2: ld returned 1 exit status

GCC 4.5 does not have full support for C++0x. We'll need an upgrade to 4.7 for this to work.



Yaakov




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]