lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] Replacing boost with std C++11


From: Greg Chicares
Subject: Re: [lmi] Replacing boost with std C++11
Date: Tue, 9 May 2017 12:56:16 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0

On 2017-04-25 14:27, Greg Chicares wrote:
[...]
> (I) Standard replacements available with C++17:
> 
>   #include <boost/filesystem/convenience.hpp>
>   #include <boost/filesystem/exception.hpp>
>   #include <boost/filesystem/fstream.hpp>
>   #include <boost/filesystem/operations.hpp>
>   #include <boost/filesystem/path.hpp>
> Requires gcc-5.3 and '-lstdc++fs':
>   
> http://stackoverflow.com/questions/33149878/experimentalfilesystem-linker-error/33159746#33159746

I was hoping that if we upgraded to gcc-5.3, we'd be able to replace
boost::filesystem; but it looks like that's not going to work soon:

https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dynamic_or_shared.html#manual.intro.using.linkage.experimental
| The library implementation is incomplete on non-POSIX platforms,
| specifically Windows support is rudimentary.

https://github.com/Alexpux/MINGW-packages/issues/2292
[looks like UTF-16 is a problem]

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=847379
| Experimental support is not currently enabled in Debian's build of the
| mingw-w64 cross-compiler.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]