delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/06/05/16:17:56

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=hSAkUpfmmDjpfj60
WO0n1UJBq75TmFmysAHHRoE02vxqinl3HwGyWBcjozQNZOpsbg4bqNxGFSNJTBLA
+LR0ALCVfW7pYu9tLmd3g+d6ithXboH9r8U/KUzCT371Lec0Q6CFYpF0kyupqwAx
oghBmW5eW/eCE80kKYBQ7Bkmgdk=
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=CvKNpcrfU5dOxn2IJxuv2D
1JwLA=; b=Urloq9vYj7X+fbxlPb99X/hPi8rljrrB0fTTeUPvyQy+zeybDAzzTd
KBO01dE7pNmwDBgXwpeF6ME1IEeNHC7ymHdHo0V07SYK1+0CNJFTnbIIpJSbNzqt
WZLV1ABXs2dfEK8Ozvm1ojv63nUgm3ilZbEUIJlcsqy+IK/KK2m3o=
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=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=HContent-Transfer-Encoding:8bit
X-HELO: mail-wm0-f42.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:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=qKf0+JT5jJs+amIG6gUscsazhiThz4DhCWK1mXNfmts=; b=pVApaC5ESDflvZ3qVU+hYN8rwTmlL49R1Xo5oR9sGPdDdShiyiN85RQgH4ofC42pam 8gmiuge7/G+L/sHykaL5ByDYuBIcLYgGMn50RpWb2tmldJUa2KfTUKfWc1foTWa4WAQt a4JZ7gNoBGwwOLKcJbGxIJ+vqlnr4TGp13Xdo/uHhXd0/X8Ta9u9oVO6ZbW1xkf4vi77 j7xmEGAbIJwXNzOIX2hvL7M7QqU7hxkphDjS+11yeErM6Ztwo+aPCTFsnmHv8l4i11VI Dk2S4y/TpPpyxZeKhvyh1iiVlb52Kv31xVW6F9wpEwyPrFwNN3m8rdUOu4b1CBGW+GIJ 4SqA==
X-Gm-Message-State: APt69E0WU3oEP8HTLFMtctsVVFXAXCbJHWrMWmAj/Z9Z8zLPcO5FjMNO AJTYcTwxvlg4nqryQNMey7w6hiFV
X-Google-Smtp-Source: ADUXVKIpB3ttN9ldqyYAai5v/f2xzrKRzwA/mrKdzPh+eeP7bmRgcU+sd9q1ruICiGLCLfELXA+9GQ==
X-Received: by 2002:a1c:b7d4:: with SMTP id h203-v6mr347580wmf.161.1528229855997; Tue, 05 Jun 2018 13:17:35 -0700 (PDT)
Subject: Re: GCC 7.3.0 -std=gnu++17 failed to getline() from std::ifstream
To: cygwin AT cygwin DOT com
References: <CAHVoUt3YcXjrNQcE9fO2KoXv7OTeXf0LmLGtSQrEeYOzovdgrA AT mail DOT gmail DOT com> <0942a7eb-e8e2-5766-7d9e-fae735d9c891 AT t-online DOT de>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Message-ID: <73646f8a-91a6-8fdb-120b-05adffee2228@gmail.com>
Date: Tue, 5 Jun 2018 22:17:35 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0
MIME-Version: 1.0
In-Reply-To: <0942a7eb-e8e2-5766-7d9e-fae735d9c891@t-online.de>
X-IsSubscribed: yes

On 6/5/2018 9:12 PM, Hans-Bernhard Bröker wrote:
> 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.
> 

Ivan,
it builds fine on 32 bit version also.

May be you have not installed properly the package

please follow
https://cygwin.com/problems.html

and provide as attachment the cygcheck.out

--
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

- Raw text -


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