From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 126146 invoked by alias); 5 Jun 2018 21:01:03 -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 125689 invoked by uid 89); 5 Jun 2018 21:00:45 -0000 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 Received: from mail-wr0-f176.google.com (HELO mail-wr0-f176.google.com) (209.85.128.176) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 05 Jun 2018 21:00:43 +0000 Received: by mail-wr0-f176.google.com with SMTP id k16-v6so3897285wro.0 for ; Tue, 05 Jun 2018 14:00:36 -0700 (PDT) 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) Received: from [192.168.49.27] ([217.111.53.18]) by smtp.gmail.com with ESMTPSA id y18-v6sm24206473wrl.53.2018.06.05.14.00.33 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Jun 2018 14:00:33 -0700 (PDT) Subject: Re: GCC 7.3.0 -std=gnu++17 failed to getline() from std::ifstream To: cygwin@cygwin.com References: From: Marco Atzeri Message-ID: Date: Tue, 05 Jun 2018 21:01:00 -0000 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 X-SW-Source: 2018-06/txt/msg00050.txt.bz2 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