From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9534 invoked by alias); 5 Jun 2018 18:07:37 -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 9479 invoked by uid 89); 5 Jun 2018 18:07:36 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=3.5 required=5.0 tests=AWL,BAYES_00,FOREIGN_BODY1,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 spammy=asunto, enviado, Para, mayo X-HELO: EUR02-HE1-obe.outbound.protection.outlook.com Received: from mail-eopbgr10051.outbound.protection.outlook.com (HELO EUR02-HE1-obe.outbound.protection.outlook.com) (40.107.1.51) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 05 Jun 2018 18:07:34 +0000 Received: from VI1PR0302MB3391.eurprd03.prod.outlook.com (52.134.13.153) by VI1PR0302MB3439.eurprd03.prod.outlook.com (52.134.14.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.820.15; Tue, 5 Jun 2018 18:07:29 +0000 Received: from VI1PR0302MB3391.eurprd03.prod.outlook.com ([fe80::2963:31ef:3385:4228]) by VI1PR0302MB3391.eurprd03.prod.outlook.com ([fe80::2963:31ef:3385:4228%3]) with mapi id 15.20.0820.015; Tue, 5 Jun 2018 18:07:29 +0000 From: Alberto Escrig Vidal To: The Cygwin Mailing List Subject: Re: Updated: gcc-7.3.0-2 (x86/x86_64) Date: Tue, 05 Jun 2018 18:07:00 -0000 Message-ID: References: <1268fcb1-715a-0518-cc94-91f452d029fb@gmail.com>, In-Reply-To: authentication-results: spf=none (sender IP is ) smtp.mailfrom=alberto.escrig@itc.uji.es; x-ms-publictraffictype: Email x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-traffictypediagnostic: VI1PR0302MB3439: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-forefront-prvs: 0694C54398 received-spf: None (protection.outlook.com: itc.uji.es does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 0629e080-ca28-4699-2b63-08d5cb0f33e6 X-OriginatorOrg: itc.uji.es X-MS-Exchange-CrossTenant-Network-Message-Id: 0629e080-ca28-4699-2b63-08d5cb0f33e6 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jun 2018 18:07:29.7994 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 6a53a07f-f9a9-45ac-a064-be615a5a735c X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0302MB3439 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-SW-Source: 2018-06/txt/msg00044.txt.bz2 Some more imput: Problem (1) is related to getline. I prepared this minimal= example after disecting a program that parses a text file which aborted un= der cygwin (despite it worked well compiled with g++-7 under ubuntu). Thanks for the patch for problem (2) Ken! ________________________________ De: Alberto Escrig Vidal Enviado: martes, 29 de mayo de 2018 19:32:39 Para: The Cygwin Mailing List Asunto: Re: Updated: gcc-7.3.0-2 (x86/x86_64) 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