delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/06/05/19:28:52

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type; q=dns; s=default; b=Tgfe
3UYw+bRM0gPp5XLWjaHGR7ofxqmNSZsiGAqhWcd9lcmMxwmivMZg/6LUfI0YPNSP
E0Xc92uYA4jxLsMo1IhZAaVpGZjWwrTS6Ou0KazMmTWoUN+gNp45c+BhRAleXPyY
HNGQJVqxKu6yY9+oovQUstVFnFgpXJMEvnAb5mg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type; s=default; bh=TJqrVZ68Mq
bQmqJ/+cnP9wX1Ufo=; b=UagO/49iw2YyQ01dGU/m8qCUBfCE+rW9jQ5PXmnGYA
gJnFS9SFQGTW5w+HJ3SjRhkEhlLUffN4m61h3j0yLcslBXd0mCJBhPL5+U1L6VsQ
uny4ES7WVrP0pIOLqluVU2Rs5y27zA8DtREigtYqzovq9QR5oeYXM3CWPSJnGgjW
4=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=H*r:sk:b14-v6s, vidal, gcc7302, gcc-7.3.0-2
X-HELO: mail-pl0-f49.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to; bh=KiQ2C5RN9B2Xexgmh0NomHYerlkWTIGfIGbpMx8bz7M=; b=lOEGCY/UXAqGtdrCJCCLP00CrDMbzYMEN/hCsru2x/dx7o6W/bPlJkx2k93/WQAxRZ eovXp+BqZpYXNi1xjyFoDAIxgYYLC3huU26Fk+W3JdWBfRiIHaE6TZKTngoNWaBdDXrC Z0L2Za3BvqRXziVZ828LAXej8IOHkrrsELDw99b0XYQI8iyiYcMR6WljwgpIPo42RtEB 1NUrIOtiG+0B2ATVRjajSur5MdajBf9vWJMp0stTWCNtFhVMNAKpT16FrgHq+FitvAwC nxAiy+gA948+3uQzbFHwriu/Yew6FKkvreQk1KTO3DQgMtR4VQ6Pw48sg3oHC6DY8t8q c4Ew==
X-Gm-Message-State: APt69E07xGBE68ZV+mHfoqh8reccqDJgc5MElK3GnaE3HykOT3wd02QI tIWAfRA7OiH74MhqZzJVGK/azA==
X-Google-Smtp-Source: ADUXVKLHjp1ewgXBA5VPmAq1gt1CBEyhEsdIj0JdN1OQYEwqI6/jarZi29fRc/CZNY1XViZnK0qCqw==
X-Received: by 2002:a17:902:b416:: with SMTP id x22-v6mr634062plr.267.1528241317915; Tue, 05 Jun 2018 16:28:37 -0700 (PDT)
Subject: Re: Updated: gcc-7.3.0-2 (x86/x86_64)
To: cygwin AT cygwin DOT com
References: <1268fcb1-715a-0518-cc94-91f452d029fb AT gmail DOT com> <VI1PR0302MB3391D4930689A1B82885F91DA06D0 AT VI1PR0302MB3391 DOT eurprd03 DOT prod DOT outlook DOT com>
From: JonY <10walls AT gmail DOT com>
Openpgp: preference=signencrypt
Message-ID: <cf64d30c-9cd8-f156-797c-6d1680c0fdf2@gmail.com>
Date: Tue, 5 Jun 2018 23:28:16 +0000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
In-Reply-To: <VI1PR0302MB3391D4930689A1B82885F91DA06D0@VI1PR0302MB3391.eurprd03.prod.outlook.com>
X-IsSubscribed: yes

--r4kUQ0owlDgYkbZSbYERvkfPZqoXirDaN
Content-Type: multipart/mixed; boundary="d8unSQmndKrgbuCbn35QkuDR1sdqNwUQT";
 protected-headers="v1"
From: JonY <10walls AT gmail DOT com>
To: cygwin AT cygwin DOT com
Message-ID: <cf64d30c-9cd8-f156-797c-6d1680c0fdf2 AT gmail DOT com>
Subject: Re: Updated: gcc-7.3.0-2 (x86/x86_64)
References: <1268fcb1-715a-0518-cc94-91f452d029fb AT gmail DOT com>
 <VI1PR0302MB3391D4930689A1B82885F91DA06D0 AT VI1PR0302MB3391 DOT eurprd03 DOT prod DOT outlook DOT com>
In-Reply-To: <VI1PR0302MB3391D4930689A1B82885F91DA06D0 AT VI1PR0302MB3391 DOT eurprd03 DOT prod DOT outlook DOT com>


--d8unSQmndKrgbuCbn35QkuDR1sdqNwUQT
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

On 05/29/2018 05:32 PM, Alberto Escrig Vidal wrote:
>=20
> Thanks so much Jon!
>=20
>=20
> I have noticed a couple of issues with g++-7.
>=20
>=20
> 1)
>=20
>=20
> #include <string>
> #include <iostream>
> #include <sstream>
>=20
> int main()
> {
> std::string Str;
> std::stringstream ss("hello");
> std::getline(ss,Str);
> std::cout << Str;
>=20
> return 0;
> }
>=20
> Compiling the above program with:
>=20
> g++ -g -std=3Dc++17 foo.cpp
>=20
> Compiles just fine, but aborts when running it.
>=20
> Running it with gdb:
>=20
> Program received signal SIGABRT, Aborted.
> 0x6326126a in cygstdc++-6!_ZNSs7reserveEj () from /usr/bin/cygstdc++-6.dll

I suspect --enable-fully-dynamic-string may affect it, but this breaks
libstdc++ ABI. I'll test it soon-ish.


--d8unSQmndKrgbuCbn35QkuDR1sdqNwUQT--

--r4kUQ0owlDgYkbZSbYERvkfPZqoXirDaN
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE5QrdnbBX9Ppk4bbPcTtf4pwUXUUFAlsXHJAACgkQcTtf4pwU
XUWz1Q/+IRRPsaS0p2W0lqmRgNjEQwOyDQeE3RVTmC8gXIkITR7nliekWnJ3339Z
noz1HLLJ+SjCT0nKO+eGb1jmq3ICjhvHu1mmOIJmKgswSifnmW3xu+51Wsz5b2p5
0T1NOTz31KY2Lu0xG1U11L8fo2fE2tI2ugP7l5yfkH9h9sroa2vOGqsxOyKtoDBR
Mgp2xHV4MmPY4v2mR5jA4iy/lR9teHCd+ulBSxslNh8zHN1KuwgvgVa6iATKV755
a8kJ39uSeNcRkgyjagJAE3ws4feHWrx/Klp0ex1r4HJeqW3Bv22TDOheFIEqvMwx
9XM7WtJPSSCy15I6ootToPUqCvrnO9M/mTCOVbIoUpLbkG1PhDz2vOJPZpBzR3Um
wMFZ6op7VSx+xrnMTiDFObPm6wmI3BCJdVO+tSLe8SkzhjH5cc1jmX2aG12FpGaB
3yxHZ2IKhr/hw+rRfB4pzlmER+yccxKCMS9lPp1PPKatUTF6PHCineHIzRXGjPRw
IvH/2nNmLCs7R0WKO/eqGeSa3lhcE+iI9OPZ13AGGsRzt75lfYP65HyVBnU1ySQj
ZorkwmjVqLADQ1gqA99jglXcwrx+2bOTGBMqIGMMcVN//AOrieb0kaSrpKoiwIFx
QbsEN6A8LYI4wvKs4QMSbyfRTKiecU3brJLU4bC0FhUCiIxDWYA=
=fRsB
-----END PGP SIGNATURE-----

--r4kUQ0owlDgYkbZSbYERvkfPZqoXirDaN--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019