From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 100585 invoked by alias); 30 Jul 2015 17:14:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 100548 invoked by uid 48); 30 Jul 2015 17:14:07 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/67066] libstdc++-v3/src/filesystem/dir.cc fails to compile with --enable-concept-checks Date: Thu, 30 Jul 2015 17:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on component assigned_to short_desc everconfirmed bug_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-07/txt/msg02658.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67066 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2015-07-30 Component|bootstrap |libstdc++ Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org Summary|libstdc++-v3/src/filesystem |libstdc++-v3/src/filesystem |/dir.cc fails to compile, |/dir.cc fails to compile |preventing bootstrapping |with |with |--enable-concept-checks |libstdcxx-filesystem-ts | Ever confirmed|0 |1 Severity|normal |minor --- Comment #4 from Jonathan Wakely --- The attached errors show that --enable-concept-checks is completely incompatible with the Filesystem library, because it relies on using std::vector in C++14 code and the concept checks enforce C++03 rules. Enabling those checks at build time basically says you want a C++ standard library that only supports C++03, in which case you can't use the C++ Filesystem library which is based on C++14. I can make the build work by disabling the concept checks while building libstdc++fs.a but you still won't be able to use the resulting library unless you also disable them when using it. So you might as well just not configure them to be enabled.