This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/67066] libstdc++-v3/src/filesystem/dir.cc fails to compile with --enable-concept-checks
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 30 Jul 2015 17:14:07 +0000
- Subject: [Bug libstdc++/67066] libstdc++-v3/src/filesystem/dir.cc fails to compile with --enable-concept-checks
- Auto-submitted: auto-generated
- References: <bug-67066-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67066
Jonathan Wakely <redi at gcc dot gnu.org> 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 <redi at gcc dot gnu.org> ---
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.