From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 124563 invoked by alias); 29 May 2018 17:32:47 -0000 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 Received: (qmail 124324 invoked by uid 89); 29 May 2018 17:32:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=H*F:D*es, gcc-7.3.0-2, gcc7302, cout X-HELO: EUR02-AM5-obe.outbound.protection.outlook.com Received: from mail-eopbgr00086.outbound.protection.outlook.com (HELO EUR02-AM5-obe.outbound.protection.outlook.com) (40.107.0.86) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 29 May 2018 17:32:44 +0000 Received: from VI1PR0302MB3391.eurprd03.prod.outlook.com (52.134.13.153) by VI1PR0302MB2798.eurprd03.prod.outlook.com (10.171.106.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.797.11; Tue, 29 May 2018 17:32:39 +0000 Received: from VI1PR0302MB3391.eurprd03.prod.outlook.com ([fe80::4c2f:b602:f818:9615]) by VI1PR0302MB3391.eurprd03.prod.outlook.com ([fe80::4c2f:b602:f818:9615%13]) with mapi id 15.20.0797.017; Tue, 29 May 2018 17:32:39 +0000 From: Alberto Escrig Vidal To: The Cygwin Mailing List Subject: Re: Updated: gcc-7.3.0-2 (x86/x86_64) Date: Wed, 30 May 2018 10:57:00 -0000 Message-ID: References: <1268fcb1-715a-0518-cc94-91f452d029fb@gmail.com> In-Reply-To: <1268fcb1-715a-0518-cc94-91f452d029fb@gmail.com> authentication-results: spf=none (sender IP is ) smtp.mailfrom=alberto.escrig@itc.uji.es; x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;VI1PR0302MB2798;7:ZEmsvkr91PUL4hv78f23t+WxoNwK2LlQSeCSCVXoiMJV+ghBd9IRCwdqxkcHU/nvQ+KFXhz/NyALJDhtC0qWZVHzBOnRv4hlX/bdTd1LRRkQs+RgXrQ24oAxtKlxJkIVP0I5ZO0BClVzFp6Fg4Dm5CfZv+PgCUcpJ4AN8LEdpN23tvGDh6tEW0Hl6rGp6HjrHJVPhELzDR12GOty+QKM+LGnZo3eewnfFCruZN6LgqoewI891WNvgxzsDqTTrDCS x-ms-exchange-antispam-srfa-diagnostics: SOS; x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);SRVR:VI1PR0302MB2798; x-ms-traffictypediagnostic: VI1PR0302MB2798: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(5005006)(8121501046)(10201501046)(3231254)(944501410)(52105095)(3002001)(93006095)(93001095)(149027)(150027)(6041310)(20161123560045)(20161123558120)(20161123564045)(201703131423095)(201702281529075)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(6072148)(201708071742011)(7699016);SRVR:VI1PR0302MB2798;BCL:0;PCL:0;RULEID:;SRVR:VI1PR0302MB2798; x-forefront-prvs: 0687389FB0 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(346002)(376002)(39380400002)(39840400004)(396003)(199004)(189003)(68736007)(33656002)(102836004)(316002)(66066001)(446003)(786003)(26005)(74482002)(53936002)(99286004)(97736004)(55016002)(54896002)(74316002)(7736002)(9686003)(6246003)(2900100001)(3846002)(8936002)(8676002)(81156014)(81166006)(6116002)(15650500001)(3660700001)(3280700002)(6606003)(478600001)(106356001)(229853002)(19627405001)(2906002)(105586002)(6436002)(14454004)(25786009)(486006)(476003)(186003)(7696005)(86362001)(5250100002)(5660300001)(76176011)(6506007)(11346002)(6916009);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR0302MB2798;H:VI1PR0302MB3391.eurprd03.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: itc.uji.es does not designate permitted sender hosts) x-microsoft-antispam-message-info: XSFjY6HQbYEo41oVFsnLXh+SOYvwG+gZNy61dd6Wjr0HjrNPLnNSd+bb9x3EbgScGNVsZPGW2YQTJmoK3hUJ/IzdSo/GfrWvpBXQivmcJWxyGNO8gxQ1Uw+333yIbe49poporsQNZKeTu2TLOUJW0rVgw2p4XeDghjmkPMeDH6ApY8QLl5Y99lzOsk8Mc44p spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 2a9bb805-b80e-42db-6dab-08d5c58a2cf8 X-OriginatorOrg: itc.uji.es X-MS-Exchange-CrossTenant-Network-Message-Id: 2a9bb805-b80e-42db-6dab-08d5c58a2cf8 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 May 2018 17:32:39.2649 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 6a53a07f-f9a9-45ac-a064-be615a5a735c X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0302MB2798 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-SW-Source: 2018-05/txt/msg00318.txt.bz2 Thanks so much Jon! I have noticed a couple of issues with g++-7. 1) #include #include #include int main() { std::string Str; std::stringstream ss("hello"); std::getline(ss,Str); std::cout << Str; return 0; } Compiling the above program with: g++ -g -std=3Dc++17 foo.cpp Compiles just fine, but aborts when running it. Running it with gdb: Program received signal SIGABRT, Aborted. 0x6326126a in cygstdc++-6!_ZNSs7reserveEj () from /usr/bin/cygstdc++-6.dll The program works fine if compiled with -std=3Dc++14. 2) This program fails to compile (it also failed with g++-6). #include int main() {} -- 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