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:from:to:subject:date:message-id:references :in-reply-to:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=SudlwYaldyR4Hxrn fZ3dcMch1UopPvNx/fwyFihB4bXwG+nPkFS0QugrwOw89+0AcosyqwEGJAFZsr9v UsC4UjFyb6p51B0q2m98kjdBxA9zLNKoDYGIVvgFxgaTx4D8h+yudJvfzd4KpziY fVWC1pjdhL6dtv/YveLANAEdQvQ= 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:from:to:subject:date:message-id:references :in-reply-to:mime-version:content-type :content-transfer-encoding; s=default; bh=kXn2HgIEu0JPj9RcX36Hgf I/h9o=; b=C+1lt4spNyfln7XIn0nbapOK2gUpURZXCnLYYUysVknc90iOKQJnnv gohpXrWjEQwA7++icASmdCIiySJSfX6eQw7pg7uXYZ4KiLd3qHSQz+Odthi0AeLH cjfaqixm+qgfXh3mkR19PxycebSdnNvcH3QDbQ2EzcocdM7dzwrQU= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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.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 From: Alberto Escrig Vidal To: The Cygwin Mailing List Subject: Re: Updated: gcc-7.3.0-2 (x86/x86_64) Date: Tue, 29 May 2018 17:32:39 +0000 Message-ID: References: <1268fcb1-715a-0518-cc94-91f452d029fb AT gmail DOT com> In-Reply-To: <1268fcb1-715a-0518-cc94-91f452d029fb@gmail.com> authentication-results: spf=none (sender IP is ) smtp.mailfrom=alberto DOT escrig AT itc DOT uji DOT 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: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id w4THWvFY029502 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=c++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=c++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