On 27/07/12 5:26, Daniel Colascione wrote:
On 7/26/2012 8:03 PM, Yaakov (Cygwin/X) wrote:
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_regexchar,
std::regex_traitschar
/tmp
$ cat foo.cpp
#include stdio.h
#include regex
int
main()
{
std::regex e(hello);
}
$ g++ -std=gnu++0x foo.cpp
/tmp/ccS3vCW7.o:foo.cpp:(.text$_ZNSt11basic_regexIcSt12regex_traitsIcEEC1EPKcj[std::basic_regexchar,
std::regex_traitschar ::basic_regex(char const*, unsigned
int)]+0x60):
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_regexchar,
std::regex_traitschar ::basic_regex(char const*, unsigned
int)]+0x60): undefined reference to `std::basic_regexchar,
On 7/26/2012 8:03 PM, Yaakov (Cygwin/X) wrote:
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_regexchar,
std::regex_traitschar ::basic_regex(char const*, unsigned
int)]+0x60):
4 matches
Mail list logo