[MacPorts] #26460: boost: use BOOST_IOSTREAMS_USE_DEPRECATED
#26460: boost: use BOOST_IOSTREAMS_USE_DEPRECATED -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: adfernandes@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: boost -------------------------------------+-------------------------------------- boost 1.44.0 deletes a capability used by some existing ports, such as wesnoth; see [ticket:26449 MacPorts ticket 26449]. See [https://svn.boost.org/trac/boost/ticket/4460 Boost ticket 4460] for why this was removed from boost, and how to get it back for now until software like wesnoth is updated to no longer use that capability. -- Ticket URL: <http://trac.macports.org/ticket/26460> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26460: boost: use BOOST_IOSTREAMS_USE_DEPRECATED --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: adfernandes@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: invalid | Keywords: Port: boost | --------------------------------------+------------------------------------- Changes (by adfernandes@…): * status: new => closed * resolution: => invalid Comment: The current build already defines `BOOST_IOSTREAMS_USE_DEPRECATED`. It is, however, not by default defined in the header. Thus applications need to explicitly define this before they include the boost header to get it. This is by design. It allows old code to be compiled by simply adding a `define` statement, but does not export the symbols by default to prevent their use in new code. {{{ [...snip...] mkdir -p "bin.v2/libs/iostreams/build/darwin-4.2.1/release" darwin.compile.c++ bin.v2/libs/iostreams/build/darwin-4.2.1/release/file_descriptor.o "/usr/bin/g++-4.2" -ftemplate-depth-128 -O3 -finline-functions -Wno- inline -Wall -dynamic -no-cpp-precomp -gdwarf-2 -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_IOSTREAMS_DYN_LINK=1 -DBOOST_IOSTREAMS_USE_DEPRECATED -DNDEBUG -I"." -I"/opt/local/include" -c -o "bin.v2/libs/iostreams/build/darwin-4.2.1/release/file_descriptor.o" "libs/iostreams/src/file_descriptor.cpp" darwin.compile.c++ bin.v2/libs/iostreams/build/darwin-4.2.1/release/mapped_file.o "/usr/bin/g++-4.2" -ftemplate-depth-128 -O3 -finline-functions -Wno- inline -Wall -dynamic -no-cpp-precomp -gdwarf-2 -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_IOSTREAMS_DYN_LINK=1 -DBOOST_IOSTREAMS_USE_DEPRECATED -DNDEBUG -I"." -I"/opt/local/include" -c -o "bin.v2/libs/iostreams/build/darwin-4.2.1/release/mapped_file.o" "libs/iostreams/src/mapped_file.cpp" darwin.compile.c++ bin.v2/libs/iostreams/build/darwin-4.2.1/release/zlib.o "/usr/bin/g++-4.2" -ftemplate-depth-128 -O3 -finline-functions -Wno- inline -Wall -dynamic -no-cpp-precomp -gdwarf-2 -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_IOSTREAMS_DYN_LINK=1 -DBOOST_IOSTREAMS_USE_DEPRECATED -DNDEBUG -I"." -I"/opt/local/include" -c -o "bin.v2/libs/iostreams/build/darwin-4.2.1/release/zlib.o" "libs/iostreams/src/zlib.cpp" [...snip...] }}} -- Ticket URL: <http://trac.macports.org/ticket/26460#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts