* [Bug bootstrap/67066] libstdc++-v3/src/filesystem/dir.cc fails to compile, preventing bootstrapping with libstdcxx-filesystem-ts
2015-07-30 13:49 [Bug bootstrap/67066] New: libstdc++-v3/src/filesystem/dir.cc fails to compile, preventing bootstrapping with libstdcxx-filesystem-ts egall at gwmail dot gwu.edu
@ 2015-07-30 13:55 ` egall at gwmail dot gwu.edu
2015-07-30 16:50 ` redi at gcc dot gnu.org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: egall at gwmail dot gwu.edu @ 2015-07-30 13:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67066
--- Comment #1 from Eric Gallager <egall at gwmail dot gwu.edu> ---
Created attachment 36092
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36092&action=edit
(compressed) preprocessed source
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/67066] libstdc++-v3/src/filesystem/dir.cc fails to compile, preventing bootstrapping with libstdcxx-filesystem-ts
2015-07-30 13:49 [Bug bootstrap/67066] New: libstdc++-v3/src/filesystem/dir.cc fails to compile, preventing bootstrapping with libstdcxx-filesystem-ts egall at gwmail dot gwu.edu
2015-07-30 13:55 ` [Bug bootstrap/67066] " egall at gwmail dot gwu.edu
@ 2015-07-30 16:50 ` redi at gcc dot gnu.org
2015-07-30 16:52 ` redi at gcc dot gnu.org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2015-07-30 16:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67066
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Don't use --enable-concept-checks
It enforces C++03 semantics, so doesn't really make much sense these days.
Maybe I'll remove the option.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/67066] libstdc++-v3/src/filesystem/dir.cc fails to compile, preventing bootstrapping with libstdcxx-filesystem-ts
2015-07-30 13:49 [Bug bootstrap/67066] New: libstdc++-v3/src/filesystem/dir.cc fails to compile, preventing bootstrapping with libstdcxx-filesystem-ts egall at gwmail dot gwu.edu
2015-07-30 13:55 ` [Bug bootstrap/67066] " egall at gwmail dot gwu.edu
2015-07-30 16:50 ` redi at gcc dot gnu.org
@ 2015-07-30 16:52 ` redi at gcc dot gnu.org
2015-07-30 17:14 ` [Bug libstdc++/67066] libstdc++-v3/src/filesystem/dir.cc fails to compile with --enable-concept-checks redi at gcc dot gnu.org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2015-07-30 16:52 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67066
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Are you playing "use as many configure options as possible"?
Most of those options are on by default anyway, others don't do anything.
I'm pretty sure --enable-libstdcxx-time is redundant on darwin.
--enable-multiarch is for Debian
Where did you get that command, and if it's causing so much trouble why not try
simplifying it?
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/67066] libstdc++-v3/src/filesystem/dir.cc fails to compile with --enable-concept-checks
2015-07-30 13:49 [Bug bootstrap/67066] New: libstdc++-v3/src/filesystem/dir.cc fails to compile, preventing bootstrapping with libstdcxx-filesystem-ts egall at gwmail dot gwu.edu
` (2 preceding siblings ...)
2015-07-30 16:52 ` redi at gcc dot gnu.org
@ 2015-07-30 17:14 ` redi at gcc dot gnu.org
2015-07-30 18:41 ` egall at gwmail dot gwu.edu
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2015-07-30 17:14 UTC (permalink / raw)
To: gcc-bugs
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.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/67066] libstdc++-v3/src/filesystem/dir.cc fails to compile with --enable-concept-checks
2015-07-30 13:49 [Bug bootstrap/67066] New: libstdc++-v3/src/filesystem/dir.cc fails to compile, preventing bootstrapping with libstdcxx-filesystem-ts egall at gwmail dot gwu.edu
` (3 preceding siblings ...)
2015-07-30 17:14 ` [Bug libstdc++/67066] libstdc++-v3/src/filesystem/dir.cc fails to compile with --enable-concept-checks redi at gcc dot gnu.org
@ 2015-07-30 18:41 ` egall at gwmail dot gwu.edu
2015-08-18 18:05 ` redi at gcc dot gnu.org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: egall at gwmail dot gwu.edu @ 2015-07-30 18:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67066
--- Comment #5 from Eric Gallager <egall at gwmail dot gwu.edu> ---
(In reply to Jonathan Wakely from comment #3)
> Are you playing "use as many configure options as possible"?
Yeah, basically (as many interesting-looking ones as possible, at least). I can
confirm that removing the --enable-concept-checks flag works.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/67066] libstdc++-v3/src/filesystem/dir.cc fails to compile with --enable-concept-checks
2015-07-30 13:49 [Bug bootstrap/67066] New: libstdc++-v3/src/filesystem/dir.cc fails to compile, preventing bootstrapping with libstdcxx-filesystem-ts egall at gwmail dot gwu.edu
` (4 preceding siblings ...)
2015-07-30 18:41 ` egall at gwmail dot gwu.edu
@ 2015-08-18 18:05 ` redi at gcc dot gnu.org
2015-08-18 18:35 ` redi at gcc dot gnu.org
2015-08-28 9:31 ` redi at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2015-08-18 18:05 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67066
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Tue Aug 18 18:04:32 2015
New Revision: 226984
URL: https://gcc.gnu.org/viewcvs?rev=226984&root=gcc&view=rev
Log:
PR libstdc++/67066
* doc/xml/manual/configure.xml (manual.intro.setup.configure): Add
caveats for --enable-concept-checks. Improve link text.
* doc/xml/manual/diagnostics.xml (std.diagnostics.concept_checking):
Clarify caveats.
* doc/html/*: Regenerate.
* include/bits/stl_deque.h (deque): Only use concept checks in C++03.
* include/bits/stl_stack.h (stack): Likewise.
* include/bits/stl_vector.h (vector): Likewise.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/doc/html/manual/concept_checking.html
trunk/libstdc++-v3/doc/html/manual/configure.html
trunk/libstdc++-v3/doc/html/manual/status.html
trunk/libstdc++-v3/doc/xml/manual/configure.xml
trunk/libstdc++-v3/doc/xml/manual/diagnostics.xml
trunk/libstdc++-v3/include/bits/stl_deque.h
trunk/libstdc++-v3/include/bits/stl_stack.h
trunk/libstdc++-v3/include/bits/stl_vector.h
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/67066] libstdc++-v3/src/filesystem/dir.cc fails to compile with --enable-concept-checks
2015-07-30 13:49 [Bug bootstrap/67066] New: libstdc++-v3/src/filesystem/dir.cc fails to compile, preventing bootstrapping with libstdcxx-filesystem-ts egall at gwmail dot gwu.edu
` (5 preceding siblings ...)
2015-08-18 18:05 ` redi at gcc dot gnu.org
@ 2015-08-18 18:35 ` redi at gcc dot gnu.org
2015-08-28 9:31 ` redi at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2015-08-18 18:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67066
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |6.0
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed on trunk.
The filesystem library is now enabled on the gcc-5-branch too, but I'm not
making this change there. Just don't use --enable-concept-checks in combination
with the filesystem library (better yet, don't use --enable-concept-checks at
all).
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/67066] libstdc++-v3/src/filesystem/dir.cc fails to compile with --enable-concept-checks
2015-07-30 13:49 [Bug bootstrap/67066] New: libstdc++-v3/src/filesystem/dir.cc fails to compile, preventing bootstrapping with libstdcxx-filesystem-ts egall at gwmail dot gwu.edu
` (6 preceding siblings ...)
2015-08-18 18:35 ` redi at gcc dot gnu.org
@ 2015-08-28 9:31 ` redi at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2015-08-28 9:31 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67066
--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I don't think the --help output is the right place to explain it. My preference
would be to simply deprecate the option anyway.
^ permalink raw reply [flat|nested] 9+ messages in thread