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=dD+DTeYKOeELpXr2 1t5QAyej9K8qCAiJ+R6fd/hpkWEmWYCDfcLv9p00SMb1xnUTqL5F+Gk7Ms8icr2y 6ilCOSD7MX5Fw29JVn0B4TCD9CWpFE6UYAKGur/jhVZwNKajU5lNa6fiZO85yCU3 FAwec8H0rir8NT8RoFWhLUG4GsM= 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=29Cp1/HC1e2sx5VQUAHO5X PFkok=; b=qnct/fKwMPxzH3rb/kHcnU85lNzvAO88wvFxC6SvhhiikwRWG86hP1 3hyeMnri7My0VAfkDgAsuSXGioWcKrlIbhzvOtJHF4KOkf6FmiNJA5Y1lySOKuns 0fA4Mf8OPgCYJP1sdzHc8wycwQpYP4SvADaXswHYXIqdEPh9LeybA= 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=-6.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,GIT_PATCH_2,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=tons X-HELO: mail-wr0-f176.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=K3+3Frhkt7CQ09Rq0ekoR3htAEZfTo8iRa/88QynFp8=; b=Qale8WPdb+HmCr3SyNqb/l748VIWY8d/mARWC6yS50p1fyjzhOiRXY6LjjXCCE7xCj Tsj5s3rZQVqCUbiB8tbP83TtzQjriJJGVroco5HFctfp6dAUXiylqC/CxkAQk85OKaPe 9WUn2+I9jIZY1G9XzseGzlUe5u7VHOA0PArywHWimgRIuCRsEuey8aMiM1BHeebH3Bri HXg2uEj1SBgErpDfJxGQ5pnbZ8QCAae5HJ97li7+G6HbLicbBKwUa3eHHg0YGF0Rij1a mZ992EBbTPJZTvwZE76aE4M5lvDlSGfCnq4JGDpfab16AWBplfanjBiPAQWdHl7cYOmG yvsA== X-Gm-Message-State: APt69E1HQgiO2ap0bFNI58nLPOsnWycZCf3LgUSpX6wnTdqJhN99mZvy XEraA4E1u1B3F8oK+kU00J65CWGl X-Google-Smtp-Source: ADUXVKKQQTseFV/ugNoFd8ZzmBqnpimER1piwpWMKN5pSyZdgyUVbCCvixvEBSP2pmF2Zj+Req1DlA== X-Received: by 2002:adf:e152:: with SMTP id f18-v6mr148160wri.42.1528232434622; Tue, 05 Jun 2018 14:00:34 -0700 (PDT) Subject: Re: GCC 7.3.0 -std=gnu++17 failed to getline() from std::ifstream To: cygwin AT cygwin DOT com References: From: Marco Atzeri Message-ID: Date: Tue, 5 Jun 2018 23:00:34 +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: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 6/5/2018 10:32 PM, Ivan Shynkarenka wrote: > Hello > > I use x64 bit Cygwin and it failed in my home, work and Appveyor. I add > cygcheck.out with my environment. > > I'm sorry about misspell prefix space in my prev example. Please try the > following one: > > #include > #include > > int main(int argc, char** argv) > { > std::string line; > std::ifstream stream("test.cpp"); > while (getline(stream, line)) > std::cout << line << std::endl; > return 0; > } > > g++ -std=gnu++17 test.cpp works fine on 32 bit and 64 bit on my W7 > > ------------------ > > cygcheck.out > as attachment, not in line with the mail. As delivered, it screws up the mailing list search capability with tons of false positive What is Y: a server file system ? -- 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