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.

Reply via email to