delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/05/30/07:59:38

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=DA+a
jA+zhGFvkilUuIqnrMWM1OqLMBvKaCKXn1HlAfonudNQnpc6jGggT4RBCXLdpf5+
v1QeVRPvuv+w4b/WaFS50U6vcMrf4XZS14kUNoivGcz2e6xM+VWTtoJneZ7VY51T
hp2NZUGWG9IGvgkVmICxNwujSDpfEkCSfdUOCco=
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=G8JoxJ7jBq
AKrV0JsMpCgKSoy8k=; b=RNmRh3ZiVXQHkeykpZSmTQrBJ645S2GSQ1L0ukNQGB
sUqwiq6j/nNEwYg2a0nPsDPxwBmVrY6kn8ddDcSrK8pANPtv88056BhZmAMrmpaD
YxP1Iu8EMBJ1h6BaV0el74Evx+KWN9H+vZgxxOuPLzTybm6xM5MlST3CPXl9NfGv
s=
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=-1.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=alberto, (unknown), vidal, Vidal
X-HELO: mail-pf0-f170.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=2bHxP/Ef8ZcXLfWh1JM5kJcDUajd0s5Dq7kHeQ4TZXI=; b=qg0oND28H8ZWK+mGE82CMrjkMiR/4KaHR31p1h72DnpvQ2HsKE2VfFlJ9EsyWRWFeX //IgsYT/c3OGhFMLMXfAmfiAVx7y84tqLzlYL93v7Nu/CtWKGxm4yZX5zXr80TLum7Vm Sed7B6cpwVqmuFNueIxOvobXHkU7LA8EPkNRkBB46qfv3lUML/pJA6XjZob9uaTZ9bm7 XRx9kA8/BQoAuNNktYjSPLJ0OaCPehmcfnG2lwJ2GiznYuJoxFH/iZFwS0luolQpzLkK obhXsQrQLM5X/6MvAOzuAh00dzs9Ml6tWmgIs6C6vxn9gAa8vtanGOHFl5mc899KMyKh 22Ug==
X-Gm-Message-State: ALKqPwfXtRmqPXfAodXE32bPjn13+820ritHPLoyJr0G9id6maj/BdFM WwXu9TGg7uBWExZgw2m3rQ/CJg==
X-Google-Smtp-Source: ADUXVKLSndz7M9XAlPK6roT+1LqeY/zHcsE6WXrsaFn3n7GyMvCUXwu6wX9cZl2joglWKIDF3JrQbg==
X-Received: by 2002:a65:504d:: with SMTP id k13-v6mr2060614pgo.11.1527681537864; Wed, 30 May 2018 04:58:57 -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
Autocrypt: addr=10walls AT gmail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v8lELvz9TJ2Kh5urXJ/7LOvof9z3R0g7Hn7AWn1Y+0hUKN1vRqziJdIFqZ7kcViiKYA KfYiDPlHSAVguc3qvok0P8A3uS5qvkz2yC3C5Jt913FoNV
Message-ID: <d3d36f49-3e11-2f0c-18b7-9b8a102a2f38@gmail.com>
Date: Wed, 30 May 2018 11:58:45 +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

--k1s0aX3oBJZ9fBdbIy5CwEgwLD2T0TkBs
Content-Type: multipart/mixed; boundary="RJxDVydKTSD3hrKyNgGLJPhaKlqxWJnDQ";
 protected-headers="v1"
From: JonY <10walls AT gmail DOT com>
To: cygwin AT cygwin DOT com
Message-ID: <d3d36f49-3e11-2f0c-18b7-9b8a102a2f38 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>


--RJxDVydKTSD3hrKyNgGLJPhaKlqxWJnDQ
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
>=20
> The program works fine if compiled with -std=3Dc++14.
>=20

$ c++filt _ZNSs7reserveEj
std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::reserve(unsigned int)

Does -static change anything?

> 2)
>=20
> This program fails to compile (it also failed with g++-6).
>=20
> #include <shared_mutex>
>=20
> int main() {}
>=20

I'm guessing Cygwin does not support the functionality declared in the
headers yet.



--RJxDVydKTSD3hrKyNgGLJPhaKlqxWJnDQ--

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

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

iQIzBAEBCAAdFiEE5QrdnbBX9Ppk4bbPcTtf4pwUXUUFAlsOkfUACgkQcTtf4pwU
XUWd5Q/9G3L8IVAb/UK7hsroo5iKOvi8cccFMBD+sUO3D3CMDNF4gumsIsOfSBr1
bZQzME7rRcUfBkOKlioCUgbPy/iNRDfN+h/p7NGbt1jvOU1XLYY2Xkr4TbsuYuND
zPt+n5mNkA44mBWUdFSYV793jfwprwOYp0TzwZ+ZspAWyghe+0yIBw8L9XKsZ3r4
etRk6+FVRVFUMTNL6Ll9Cq7MDFu4Egl3NrfnE93wPrdDmx3oiG7G5qu5Z6MzpNfh
NCbbG3N9fn3SG78QJtc3wTVBb08OjsDYDkkkBrkv+b2tbs9YL4I5ENTTKw4qq3db
k3IXI0mfrb4C1bNd3mSD5tEAyMuaCV3ve4RWM/KxdLGpff6Qn5otXXThcR4cOb0J
cxCxQD23RM6OUzUSslqlmwq+HJ+5veoHh88n7Fc7ReZ+Zecad7gYyiU3kxKAoAFX
MtyVsrqmKaU7CoH526iVMY14x7+JpBqbouvE1gimld3dtlg/ifsyJ+ypm7cqIbZp
EKFUcOU5YBBdeJRtsfrQiD0c0neCgolSYiMM9IRnx/2CB8CQpBPqf/zs5bJXSaly
cTBE0brtEyX8znmprRX5RZWqXLDE5sVQep3wwhK9wM9hbpf5XURvm6iu0pvtqWiu
J+mFRJPnD3aAKoXXLDtc45kYo4gJhmjqw2nsYG2YzVZx8WYnR+c=
=dF2d
-----END PGP SIGNATURE-----

--k1s0aX3oBJZ9fBdbIy5CwEgwLD2T0TkBs--

- Raw text -


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