From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27783 invoked by alias); 27 Jul 2012 03:26:59 -0000 Received: (qmail 27775 invoked by uid 22791); 27 Jul 2012 03:26:58 -0000 X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL,BAYES_00,KHOP_PGP_SIGNED,KHOP_THREADED,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from dancol.org (HELO dancol.org) (96.126.100.184) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 27 Jul 2012 03:26:34 +0000 Received: from c-76-22-66-162.hsd1.wa.comcast.net ([76.22.66.162] helo=[0.0.0.0]) by dancol.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1SubCE-0003ro-C1 for cygwin@cygwin.com; Thu, 26 Jul 2012 20:26:34 -0700 Message-ID: <50120A6A.6050305@dancol.org> Date: Fri, 27 Jul 2012 03:26:00 -0000 From: Daniel Colascione User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: doesn't work with g++ References: <5011BAAA.7070308@dancol.org> <50120512.1090703@users.sourceforge.net> In-Reply-To: <50120512.1090703@users.sourceforge.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig6EF7BDFA8649423F7A5F62F8" X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-07/txt/msg00601.txt.bz2 --------------enig6EF7BDFA8649423F7A5F62F8 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-length: 855 On 7/26/2012 8:03 PM, Yaakov (Cygwin/X) wrote: > On 2012-07-26 16:46, Daniel Colascione wrote: >> $ g++ -std=3Dgnu++0x foo.cpp >> /tmp/ccS3vCW7.o:foo.cpp:(.text$_ZNSt11basic_regexIcSt12regex_traitsIcEEC= 1EPKcj[std::basic_regex> >> std::regex_traits >::basic_regex(char const*, unsigned >> int)]+0x60): undefined reference to `std::basic_regex> std::regex_traits >::_M_compile()' >> collect2: ld returned 1 exit status >=20 > GCC 4.5 does not have full support for C++0x. We'll need an upgrade to > 4.7 for this to work. That's surprising. The regex header was in TR1, from back in 2005. I'd have expected gcc to support it a long time ago. I'm also surprised to see that the header definition present and the libstdc++ implementation absent. That's what made me think there was something wrong with the toolchain. Thanks. --------------enig6EF7BDFA8649423F7A5F62F8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" Content-length: 259 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlASCmwACgkQ17c2LVA10Vt+WQCgkfJHHyJPeQJlRrxCy9mWz6lB XgsAn11W5GnIiZ/CBOK2lXQfiREf1P4v =Zd6g -----END PGP SIGNATURE----- --------------enig6EF7BDFA8649423F7A5F62F8--