delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-5.3 required=5.0 tests=AWL,BAYES_00,KHOP_PGP_SIGNED,SPF_HELO_PASS,TW_CX,TW_GC,TW_IB,TW_JL,TW_YM,T_RP_MATCHES_RCVD |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <5011BAAA.7070308@dancol.org> |
Date: | Thu, 26 Jul 2012 14:46:18 -0700 |
From: | Daniel Colascione <dancol AT dancol DOT org> |
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 AT cygwin DOT com |
Subject: | <regex> doesn't work with g++ |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
--------------enigC7B373582678C4CDDA6B020C Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable /tmp $ cat foo.cpp #include <stdio.h> #include <regex> int main() { std::regex e("hello"); } $ g++ -std=3Dgnu++0x foo.cpp /tmp/ccS3vCW7.o:foo.cpp:(.text$_ZNSt11basic_regexIcSt12regex_traitsIcEEC1EP= Kcj[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 $ g++ -v Using built-in specs. COLLECT_GCC=3Dg++ COLLECT_LTO_WRAPPER=3D/usr/lib/gcc/i686-pc-cygwin/4.5.3/lto-wrapper.exe Target: i686-pc-cygwin Configured with: /gnu/gcc/releases/respins/4.5.3-3/gcc4-4.5.3-3/src/gcc-4.5.3/configure --srcdir=3D/gnu/gcc/releases/respins/4.5.3-3/gcc4-4.5.3-3/src/gcc-4.5.3 --prefix=3D/usr --exec-prefix=3D/usr --bindir=3D/usr/bin --sbindir=3D/usr/s= bin --libexecdir=3D/usr/lib --datadir=3D/usr/share --localstatedir=3D/var --sysconfdir=3D/etc --datarootdir=3D/usr/share --docdir=3D/usr/share/doc/gc= c4 -C --datadir=3D/usr/share --infodir=3D/usr/share/info --mandir=3D/usr/share/man -v --with-gmp=3D/usr --with-mpfr=3D/usr --enable-bootstrap --enable-version-specific-runtime-libs --libexecdir=3D/usr/lib --enable-static --enable-shared --enable-shared-libgcc --disable-__cxa_atexit --with-gnu-ld --with-gnu-as --with-dwarf2 --disable-sjlj-exceptions --enable-languages=3Dada,c,c++,fortran,java,lto,objc,obj-c++ --enable-graphite --enable-lto --enable-java-awt=3Dgtk --disable-symvers --enable-libjava --program-suffix=3D-4 --enable-libgomp --enable-libssp --enable-libada --enable-threads=3Dposix --with-arch=3Di686 --with-tune=3Dgeneric --enable-libgcj-sublibs CC=3Dgcc-4 CXX=3Dg++-4 CC_FOR_TARGET=3Dgcc-4 CXX_FOR_TARGET=3Dg++-4 GNATMAKE_FOR_TARGET=3Dgnatmake GNATBIND_FOR_TARGET=3Dgnatbind --with-ecj-jar=3D/usr/share/java/ecj.jar Thread model: posix gcc version 4.5.3 (GCC) --------------enigC7B373582678C4CDDA6B020C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlARuq4ACgkQ17c2LVA10Vu59ACdFENS0oKs+1S2kU4prKaaEL+D w8oAn3lsQAXIO4eRfyCjYkbDF115TFlh =OANy -----END PGP SIGNATURE----- --------------enigC7B373582678C4CDDA6B020C--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |