public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Yaakov (Cygwin/X)" <yselkowitz@users.sourceforge.net>
To: cygwin@cygwin.com
Subject: Re: <regex> doesn't work with g++
Date: Fri, 27 Jul 2012 03:03:00 -0000	[thread overview]
Message-ID: <50120512.1090703@users.sourceforge.net> (raw)
In-Reply-To: <5011BAAA.7070308@dancol.org>

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

  reply	other threads:[~2012-07-27  3:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-26 21:46 Daniel Colascione
2012-07-27  3:03 ` Yaakov (Cygwin/X) [this message]
2012-07-27  3:26   ` Daniel Colascione
2012-07-27  8:37     ` Zouzou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50120512.1090703@users.sourceforge.net \
    --to=yselkowitz@users.sourceforge.net \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).