https://gcc.gnu.org/bugzilla/show_bug.cgi?id=76782
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Jo from comment #0) > relates to c++17 > > filesystem::create_directory(path) gives an exception if path already > exists, but the C++standard FDIS N4604 27.10.15.7 says: N.B. that's the C++17 CD not the FDIS, and we don't implement the Filesystem library in the CD yet, we only implement the Filesystem TS: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4099.html#fs.op.create_directory > "Creation failure because p resolves to an existing directory shall not be > treated as an error." The same requirement is in the TS. The bug has already been fixed for the next release. *** This bug has been marked as a duplicate of bug 71036 ***