[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] Replacing boost with std C++11
From: |
Vadim Zeitlin |
Subject: |
Re: [lmi] Replacing boost with std C++11 |
Date: |
Tue, 9 May 2017 16:13:09 +0200 |
On Tue, 9 May 2017 12:56:16 +0000 Greg Chicares <address@hidden> wrote:
GC> On 2017-04-25 14:27, Greg Chicares wrote:
GC> [...]
GC> > (I) Standard replacements available with C++17:
GC> >
GC> > #include <boost/filesystem/convenience.hpp>
GC> > #include <boost/filesystem/exception.hpp>
GC> > #include <boost/filesystem/fstream.hpp>
GC> > #include <boost/filesystem/operations.hpp>
GC> > #include <boost/filesystem/path.hpp>
GC> > Requires gcc-5.3 and '-lstdc++fs':
GC> >
http://stackoverflow.com/questions/33149878/experimentalfilesystem-linker-error/33159746#33159746
GC>
GC> I was hoping that if we upgraded to gcc-5.3, we'd be able to replace
GC> boost::filesystem; but it looks like that's not going to work soon:
GC>
GC>
https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dynamic_or_shared.html#manual.intro.using.linkage.experimental
GC> | The library implementation is incomplete on non-POSIX platforms,
GC> | specifically Windows support is rudimentary.
Indeed, and this is pretty sad news, I was looking forward to using it too.
GC> https://github.com/Alexpux/MINGW-packages/issues/2292
GC> [looks like UTF-16 is a problem]
If this is really the only problem, it ought to be relatively simple to
fix it, so maybe I could look at submitting a patch fixing this? I've never
contributed to libstdc++, so I don't know how realistic is it to expect
such a patch to be accepted, but I could presumably at least ask about
it...
Regards,
VZ