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 :content-transfer-encoding; q=dns; s=default; b=haEzRFFnaRM+O5aV llBoTUS5gSDkI1BO/xrrNU2DrjGaHLShF20vfQK6GR+SVy1UHyXWW7t8PlY83MOK tZUJ/XwEEZnxPNpp9oMSn31Jo18xMtpT6B/+htsY2uxJtiP1WLYem5j1AgXEZoJX S71qOcAzZHYG6a62ZfcjB5iPtSk= 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 :content-transfer-encoding; s=default; bh=irz02wgrkpaY3/A4dhRIwq 4Mr4M=; b=Koa+TzHOaAieQnvoJzkaH7zBo92k9uwba1u4gMNHh+zwUNwp5qnGhh 3BRvtS1rw4QigQymg2SDNd2/dBNEXCE1QTOcRLD/6OPmnTrnV5JyTwh/y82ZYCAN bUNUAERWNF/hIfux9530jo4yUrVhs/H90f4cxOmdDPU7TXxnkTPwI= 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=-0.7 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy= X-HELO: mailout03.t-online.de Subject: Re: GCC 7.3.0 -std=gnu++17 failed to getline() from std::ifstream To: cygwin AT cygwin DOT com References: From: =?UTF-8?Q?Hans-Bernhard_Br=c3=b6ker?= Message-ID: <0942a7eb-e8e2-5766-7d9e-fae735d9c891@t-online.de> Date: Tue, 5 Jun 2018 21:12:46 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Am 05.06.2018 um 17:56 schrieb Ivan Shynkarenka: > Hello, > > I found an issue with Cygwin GCC 7.3.0 when building with -std=gnu++17 > flag. Using Cygwin 32-bit or 64-bit? I have to ask because I could not reproduce your problem here, on the 64-bit version. > Build: g++ -std=gnu++17 test.cpp Builds and runs fine, here. And what version of things do you have, anyway? If you had followed the advice at https://cygwin.com/problems.html, we would already know that... -- 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