#48026: boost @ 1.58.0 filesystem.exists() function fails with g++ 5.1.0 ------------------------------+-------------------------- Reporter: chris.jonesey@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: invalid | Keywords: Port: boost | ------------------------------+-------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid Comment: You cannot use more than one C++ library and share data between them. You are using boost from MacPorts which (in OS X 10.9 and later) uses libc++, and are compiling your own program using a MacPorts build of FSF g++ which uses libstdc++, and are linking it with boost, and trying to share data with it. You must compile your program using the same compiler used to compile boost: that is, on recent OS X, clang++. An alternative is to compile your own version of boost, outside of MacPorts, using (MacPorts or other build of FSF) g++; then you must also compile your program linked with boost with (MacPorts or other build of FSF) g++. -- Ticket URL: <https://trac.macports.org/ticket/48026#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X