=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for swift-3.0nb48 cd /tmp/chat/swift/work/swift-3.0 && /usr/bin/env qt5=1 USETOOLS=no PTHREAD_CFLAGS=\ -pthread\ PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr DL_CFLAGS=\ -pthread\ DL_LDFLAGS=\ -pthread DL_LIBS= QTDIR=/usr/pkg/qt5 MOC="/usr/pkg/qt5/bin/moc" PYTHON=/usr/pkg/bin/python2.7 CC=gcc CFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/qt5/include\ -I/usr/pkg/include/glib-2.0\ -I/usr/pkg/include/gio-unix-2.0\ -I/usr/pkg/lib/glib-2.0/include\ -I/usr/pkg/include/harfbuzz\ -I/usr/X11R7/include/freetype2\ -I/usr/X11R7/include\ -I/usr/X11R7/include/libdrm CPPFLAGS=-I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/qt5/include\ -I/usr/pkg/include/glib-2.0\ -I/usr/pkg/include/gio-unix-2.0\ -I/usr/pkg/lib/glib-2.0/include\ -I/usr/pkg/include/harfbuzz\ -I/usr/X11R7/include/freetype2\ -I/usr/X11R7/include\ -I/usr/X11R7/include/libdrm CXX=c++ CXXFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/qt5/include\ -I/usr/pkg/include/glib-2.0\ -I/usr/pkg/include/gio-unix-2.0\ -I/usr/pkg/lib/glib-2.0/include\ -I/usr/pkg/include/harfbuzz\ -I/usr/X11R7/include/freetype2\ -I/usr/X11R7/include\ -I/usr/X11R7/include/libdrm COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/pkg/lib\ -L/usr/lib\ -Wl,-R/usr/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/pkg/qt5/lib\ -L/usr/pkg/qt5/plugins\ -Wl,-R/usr/pkg/qt5/lib\ -Wl,-R/usr/pkg/qt5/plugins\ -L/usr/X11R7/lib\ -Wl,-R/usr/X11R7/lib\ -L/usr/pkg/lib/pulseaudio\ -Wl,-R/usr/pkg/lib/pulseaudio LINKER_RPATH_FLAG=-R PATH=/tmp/chat/swift/work/.cwrapper/bin:/tmp/chat/swift/work/.buildlink/bin:/tmp/chat/swift/work/.gcc/bin:/tmp/chat/swift/work/.tools/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/tmp/chat/swift/work/.home CWRAPPERS_CONFIG_DIR=/tmp/chat/swift/work/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ wheel\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 775 INSTALL_INFO= MAKEINFO=/tmp/chat/swift/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/tmp/chat/swift/work/.tools/bin/itstool GDBUS_CODEGEN=/tmp/chat/swift/work/.tools/bin/gdbus-codegen PKG_CONFIG=/tmp/chat/swift/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/tmp/chat/swift/work/.buildlink/lib/pkgconfig:/tmp/chat/swift/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/tmp/chat/swift/work/.pkg-config.log PKG_CONFIG_PATH= LIBGETOPT= CWRAPPERS_CONFIG_DIR=/tmp/chat/swift/work/.cwrapper/config ./scons Swift scons: Reading SConscript files ... Checking whether the C++ compiler works... yes Checking whether the C compiler works... yes Checking for C library z... yes Checking for C library resolv... yes Checking for C library pthread... yes Checking for C library dl... no Checking for C library m... yes Checking for C library c... yes Checking for C++ library stdc++... yes Checking for C++ header file boost/signals.hpp... no Checking for C function XScreenSaverQueryExtension()... yes Checking for package gconf-2.0... no Checking for C header file libxml/parser.h... no Checking for C header file libxml/parser.h... no Checking for C header file expat.h... yes Checking for C library expat... yes Checking for C header file idna.h... yes Checking for C library idn... yes Checking for C header file miniupnpc.h... no Checking for C header file natpmp.h... no Checking for C++ library lua... yes Checking for C library edit... no Checking for C header file avahi-client/client.h... no Checking for C header file openssl/ssl.h... yes Bonjour missing. Not building Slimber. Checking size of struct ip_mreqn ... no Build Configuration ------------------- Projects: Swift Sluift Limber Swiften XML Parsers: Expat TLS Support: OpenSSL DNSSD Support: Disabled scons: done reading SConscript files. scons: Building targets ... CXX Swift/Controllers/AdHocController.o In file included from Swift/Controllers/AdHocController.cpp:7:0: /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp:41:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. ) ^ CXX Swift/Controllers/AdHocManager.o In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/swift-3.0/3rdParty/Boost/src/boost/signal.hpp:25, from ./Swiften/Base/boost_bsignals.h:17, from ./Swift/Controllers/AdHocManager.h:9, from Swift/Controllers/AdHocManager.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast [-Wold-style-cast] , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept/assert.hpp:35:0, from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/lexical_cast.hpp:30, from ./Swiften/Base/URL.h:10, from ./Swiften/Client/ClientOptions.h:12, from ./Swiften/Client/CoreClient.h:17, from ./Swiften/Client/Client.h:9, from ./Swift/Controllers/AdHocManager.h:15, from Swift/Controllers/AdHocManager.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->constraints(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:31:0, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/lexical_cast.hpp:30, from ./Swiften/Base/URL.h:10, from ./Swiften/Client/ClientOptions.h:12, from ./Swiften/Client/CoreClient.h:17, from ./Swiften/Client/Client.h:9, from ./Swift/Controllers/AdHocManager.h:15, from Swift/Controllers/AdHocManager.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements::~usage_requirements()': /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast [-Wold-style-cast] ~usage_requirements() { ((Model*)0)->~Model(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/swift-3.0/3rdParty/Boost/src/boost/signal.hpp:25, from ./Swiften/Base/boost_bsignals.h:17, from ./Swift/Controllers/AdHocManager.h:9, from Swift/Controllers/AdHocManager.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp:136:63: warning: use of old-style cast [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ In file included from Swift/Controllers/AdHocManager.cpp:9:0: /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp:41:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. ) ^ CXX Swift/Controllers/BlockListController.o In file included from Swift/Controllers/BlockListController.cpp:15:0: /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp:41:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. ) ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/bad_weak_ptr.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/shared_ptr.hpp:17, from ./Swift/Controllers/BlockListController.h:9, from Swift/Controllers/BlockListController.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp:136:63: warning: use of old-style cast [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/assert.hpp:58:0, from /tmp/chat/swift/work/.buildlink/include/boost/format/feed_args.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/format.hpp:49, from ./Swiften/Base/format.h:9, from Swift/Controllers/BlockListController.cpp:20: /tmp/chat/swift/work/.buildlink/include/boost/format/feed_args.hpp: In function 'void boost::io::detail::put(T, const boost::io::detail::format_item&, typename boost::basic_format::string_type&, typename boost::basic_format::internal_streambuf_t&, boost::io::detail::locale_t*)': /tmp/chat/swift/work/.buildlink/include/boost/format/feed_args.hpp:268:79: warning: use of old-style cast [-Wold-style-cast] BOOST_ASSERT(i+(tmp_size-i)+(std::max)(d,(std::streamsize)0) ^ /tmp/chat/swift/work/.buildlink/include/boost/format/feed_args.hpp:268:21: note: in expansion of macro 'BOOST_ASSERT' BOOST_ASSERT(i+(tmp_size-i)+(std::max)(d,(std::streamsize)0) ^~~~~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/bad_weak_ptr.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/shared_ptr.hpp:17, from ./Swift/Controllers/BlockListController.h:9, from Swift/Controllers/BlockListController.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/has_constraints.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast [-Wold-style-cast] , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept/assert.hpp:35:0, from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swift/Controllers/XMPPEvents/StanzaEvent.h:10, from ./Swift/Controllers/XMPPEvents/ErrorEvent.h:14, from Swift/Controllers/BlockListController.cpp:24: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->constraints(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:31:0, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swift/Controllers/XMPPEvents/StanzaEvent.h:10, from ./Swift/Controllers/XMPPEvents/ErrorEvent.h:14, from Swift/Controllers/BlockListController.cpp:24: /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements::~usage_requirements()': /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast [-Wold-style-cast] ~usage_requirements() { ((Model*)0)->~Model(); } ^ GEN Swift/Controllers/BuildVersion.h CXX Swift/Controllers/Chat/ChatController.o In file included from /tmp/chat/swift/work/.buildlink/include/boost/detail/workaround.hpp:8:0, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/compiler_config.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:14, from ./Swift/Controllers/Chat/ChatControllerBase.h:13, from ./Swift/Controllers/Chat/ChatController.h:15, from Swift/Controllers/Chat/ChatController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major___WORKAROUND_GUARD" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:261:10: note: in definition of macro 'BOOST_WORKAROUND' ((symbol ## _WORKAROUND_GUARD + 0 == 0) && \ ^~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major__" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:262:9: note: in definition of macro 'BOOST_WORKAROUND' (symbol != 0) && (1 % (( (symbol test) ) + 1))) ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/arg.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swift/Controllers/Chat/ChatControllerBase.h:13, from ./Swift/Controllers/Chat/ChatController.h:15, from Swift/Controllers/Chat/ChatController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:27:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:45:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:63:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:81:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:99:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:117:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:142:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT(( ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:148:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_category)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:149:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:150:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:152:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:161:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/compiler_config.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:14, from ./Swift/Controllers/Chat/ChatControllerBase.h:13, from ./Swift/Controllers/Chat/ChatController.h:15, from Swift/Controllers/Chat/ChatController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast [-Wold-style-cast] , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept/assert.hpp:35:0, from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swift/Controllers/Chat/ChatControllerBase.h:13, from ./Swift/Controllers/Chat/ChatController.h:15, from Swift/Controllers/Chat/ChatController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->constraints(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:31:0, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swift/Controllers/Chat/ChatControllerBase.h:13, from ./Swift/Controllers/Chat/ChatController.h:15, from Swift/Controllers/Chat/ChatController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements::~usage_requirements()': /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast [-Wold-style-cast] ~usage_requirements() { ((Model*)0)->~Model(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/arg.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swift/Controllers/Chat/ChatControllerBase.h:13, from ./Swift/Controllers/Chat/ChatController.h:15, from Swift/Controllers/Chat/ChatController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp:147:7: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((boost::is_integral)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast [-Wold-style-cast] >::************)) 0 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp:148:7: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' BOOST_MPL_ASSERT_RELATION(std::numeric_limits::is_signed, ==, true); ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:188:13: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_integral)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast [-Wold-style-cast] >::************)) 0 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' BOOST_MPL_ASSERT_RELATION(std::numeric_limits::is_signed, ==, true); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/compiler_config.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:14, from ./Swift/Controllers/Chat/ChatControllerBase.h:13, from ./Swift/Controllers/Chat/ChatController.h:15, from Swift/Controllers/Chat/ChatController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp:136:63: warning: use of old-style cast [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits.hpp:35:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/regex_traits.hpp:28, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:39, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from ./Swift/Controllers/Chat/ChatController.h:15, from Swift/Controllers/Chat/ChatController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'boost::regex_constants::syntax_type boost::re_detail_500::get_default_syntax_type(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:366:38: warning: use of old-style cast [-Wold-style-cast] return char_syntax[(unsigned char)c]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'boost::regex_constants::escape_syntax_type boost::re_detail_500::get_default_escape_syntax_type(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:561:38: warning: use of old-style cast [-Wold-style-cast] return char_syntax[(unsigned char)c]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'std::ptrdiff_t boost::re_detail_500::global_length(const charT*) [with charT = wchar_t; std::ptrdiff_t = long int]': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:854:42: warning: use of old-style cast [-Wold-style-cast] return (std::ptrdiff_t)(std::wcslen)(p); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'char boost::re_detail_500::do_global_lower(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:870:59: warning: use of old-style cast [-Wold-style-cast] return static_cast((std::tolower)((unsigned char)c)); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'char boost::re_detail_500::do_global_upper(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:875:59: warning: use of old-style cast [-Wold-style-cast] return static_cast((std::toupper)((unsigned char)c)); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits.hpp:39:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/regex_traits.hpp:28, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:39, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from ./Swift/Controllers/Chat/ChatController.h:15, from Swift/Controllers/Chat/ChatController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_char_layer::init()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:289:15: warning: use of old-style cast [-Wold-style-cast] if((int)cat < 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:299:12: warning: use of old-style cast [-Wold-style-cast] if((int)cat >= 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_implementation::init()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:717:15: warning: use of old-style cast [-Wold-style-cast] if((int)cat < 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:727:12: warning: use of old-style cast [-Wold-style-cast] if((int)cat >= 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'int boost::cpp_regex_traits::value(charT, int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:1034:40: warning: use of old-style cast [-Wold-style-cast] return (int)toi(pc, pc + 1, radix); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_char_layer::init()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:1151:19: warning: use of old-style cast [-Wold-style-cast] if ((int)cat < 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:1161:16: warning: use of old-style cast [-Wold-style-cast] if ((int)cat >= 0) ^~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:22:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:67, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from ./Swift/Controllers/Chat/ChatController.h:15, from Swift/Controllers/Chat/ChatController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:109:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 4); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:119:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 8); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:128:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 10); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:137:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 16); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_value(T)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:221:53: warning: use of old-style cast [-Wold-style-cast] return (std::size_t)(v > 0 ? -1 : -2); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:223:40: warning: use of old-style cast [-Wold-style-cast] return (std::size_t)(-3); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:67, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from ./Swift/Controllers/Chat/ChatController.h:15, from Swift/Controllers/Chat/ChatController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp: In function 'std::size_t boost::hash_detail::hash_value_signed(T)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:283:54: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) (positive >> i) + (seed<<6) + (seed>>2); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:285:36: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) val + (seed<<6) + (seed>>2); ^~~ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp: In function 'std::size_t boost::hash_detail::hash_value_unsigned(T)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:303:49: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) (val >> i) + (seed<<6) + (seed>>2); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:305:36: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) val + (seed<<6) + (seed>>2); ^~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:73:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from ./Swift/Controllers/Chat/ChatController.h:15, from Swift/Controllers/Chat/ChatController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'void boost::re_detail_500::basic_regex_parser::parse(const charT*, const charT*, unsigned int)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:200:52: warning: use of old-style cast [-Wold-style-cast] this->m_pdata->m_mark_count = 1u + (std::size_t)m_mark_count; ^~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_repeat_range(bool)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:1222:55: warning: use of old-style cast [-Wold-style-cast] max = ((v >= 0) && (v < umax())) ? (std::size_t)v : (std::numeric_limits::max)(); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'charT boost::re_detail_500::basic_regex_parser::unescape_character()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:1835:121: warning: use of old-style cast [-Wold-style-cast] || ((std::numeric_limits::is_specialized) && (i > (boost::intmax_t)(std::numeric_limits::max)())) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:1880:81: warning: use of old-style cast [-Wold-style-cast] if((val < 0) || (val > (boost::intmax_t)(std::numeric_limits::max)())) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_perl_extension()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:2661:59: warning: use of old-style cast [-Wold-style-cast] else if(((std::ptrdiff_t)this->m_pdata->m_data.size() > (static_cast(b)->alt.i + this->getoffset(b))) && (static_cast(b)->alt.i > 0) && this->getaddress(static_cast(b)->alt.i, b)->type == syntax_element_alt) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:2726:48: warning: use of old-style cast [-Wold-style-cast] this->m_pdata->m_subs.at((std::size_t)markid - 1).second = std::distance(m_base, m_position) - 1; ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:76:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from ./Swift/Controllers/Chat/ChatController.h:15, from Swift/Controllers/Chat/ChatController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp: In member function 'boost::sub_match::difference_type boost::sub_match::length() const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:68:98: warning: use of old-style cast [-Wold-style-cast] difference_type n = matched ? ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second) : 0; ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:68:125: warning: use of old-style cast [-Wold-style-cast] difference_type n = matched ? ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second) : 0; ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:76:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from ./Swift/Controllers/Chat/ChatController.h:15, from Swift/Controllers/Chat/ChatController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp: In member function 'std::__cxx11::basic_string::value_type> boost::sub_match::str() const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:76:89: warning: use of old-style cast [-Wold-style-cast] std::size_t len = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second); ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:76:116: warning: use of old-style cast [-Wold-style-cast] std::size_t len = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second); ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:79:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from ./Swift/Controllers/Chat/ChatController.h:15, from Swift/Controllers/Chat/ChatController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp: In member function 'int boost::re_detail_500::trivial_format_traits::toi(const charT*&, const charT*, int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp:89:50: warning: use of old-style cast [-Wold-style-cast] return (int)global_toi(p1, p2, radix, *this); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp: In member function 'int boost::re_detail_500::basic_regex_formatter::toi(ForwardIter&, ForwardIter, int, const false_&)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp:172:63: warning: use of old-style cast [-Wold-style-cast] int r = (int)m_traits.toi(pos, &v[0] + v.size(), base); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:82:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from ./Swift/Controllers/Chat/ChatController.h:15, from Swift/Controllers/Chat/ChatController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'boost::match_results::difference_type boost::match_results::length(int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:134:34: warning: use of old-style cast [-Wold-style-cast] if((sub < (int)m_subs.size()) && (sub > 0)) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'boost::match_results::difference_type boost::match_results::position(boost::match_results::size_type) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:170:82: warning: use of old-style cast [-Wold-style-cast] return ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)(m_base), (BidiIterator)(s.first)); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:170:107: warning: use of old-style cast [-Wold-style-cast] return ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)(m_base), (BidiIterator)(s.first)); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'boost::match_results::string_type boost::match_results::str(int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:199:33: warning: use of old-style cast [-Wold-style-cast] if(sub < (int)m_subs.size() && (sub > 0)) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'const typename std::allocator_traits<_Alloc>::value_type& boost::match_results::operator[](int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:233:33: warning: use of old-style cast [-Wold-style-cast] if(sub < (int)m_subs.size() && (sub >= 0)) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'void boost::match_results::maybe_assign(const boost::match_results&)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:658:73: warning: use of old-style cast [-Wold-style-cast] len1 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p1->first, (BidiIterator)p1->second); ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:658:98: warning: use of old-style cast [-Wold-style-cast] len1 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p1->first, (BidiIterator)p1->second); ^~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:659:73: warning: use of old-style cast [-Wold-style-cast] len2 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p2->first, (BidiIterator)p2->second); ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:659:98: warning: use of old-style cast [-Wold-style-cast] len2 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p2->first, (BidiIterator)p2->second); ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:88:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from ./Swift/Controllers/Chat/ChatController.h:15, from Swift/Controllers/Chat/ChatController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp: In function 'bool boost::re_detail_500::can_start(char, const unsigned char*, unsigned char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:69:30: warning: use of old-style cast [-Wold-style-cast] return map[(unsigned char)c] & mask; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp: In function 'bool boost::re_detail_500::can_start(signed char, const unsigned char*, unsigned char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:73:30: warning: use of old-style cast [-Wold-style-cast] return map[(unsigned char)c] & mask; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp: In function 'int boost::re_detail_500::string_compare(const Seq&, const C*)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:144:38: warning: use of old-style cast [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:144:50: warning: use of old-style cast [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:144:62: warning: use of old-style cast [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:640:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:88, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from ./Swift/Controllers/Chat/ChatController.h:15, from Swift/Controllers/Chat/ChatController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_alt()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:573:67: warning: use of old-style cast [-Wold-style-cast] take_first = can_start(*position, jmp->_map, (unsigned char)mask_take); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:574:68: warning: use of old-style cast [-Wold-style-cast] take_second = can_start(*position, jmp->_map, (unsigned char)mask_skip); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_rep()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:617:67: warning: use of old-style cast [-Wold-style-cast] take_first = can_start(*position, rep->_map, (unsigned char)mask_take); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:618:68: warning: use of old-style cast [-Wold-style-cast] take_second = can_start(*position, rep->_map, (unsigned char)mask_skip); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_char_repeat()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:820:82: warning: use of old-style cast [-Wold-style-cast] count = (unsigned)::boost::BOOST_REGEX_DETAIL_NS::distance(origin, position); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_set_repeat()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:894:82: warning: use of old-style cast [-Wold-style-cast] count = (unsigned)::boost::BOOST_REGEX_DETAIL_NS::distance(origin, position); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_long_set_repeat()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:969:82: warning: use of old-style cast [-Wold-style-cast] count = (unsigned)::boost::BOOST_REGEX_DETAIL_NS::distance(origin, position); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:28:0, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from ./Swift/Controllers/Chat/ChatController.h:15, from Swift/Controllers/Chat/ChatController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'void boost::re_detail_500::perl_matcher::estimate_max_state_count(std::random_access_iterator_tag*)': /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: note: in definition of macro 'BOOST_REGEX_MAX_STATE_COUNT' # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: note: in definition of macro 'BOOST_REGEX_MAX_STATE_COUNT' # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: note: in definition of macro 'BOOST_REGEX_MAX_STATE_COUNT' # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: note: in definition of macro 'BOOST_REGEX_MAX_STATE_COUNT' # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: note: in definition of macro 'BOOST_REGEX_MAX_STATE_COUNT' # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:643:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:88, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from ./Swift/Controllers/Chat/ChatController.h:15, from Swift/Controllers/Chat/ChatController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_any()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:846:78: warning: use of old-style cast [-Wold-style-cast] while((position != last) && !can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_word()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:890:52: warning: use of old-style cast [-Wold-style-cast] if(can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_line()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:925:53: warning: use of old-style cast [-Wold-style-cast] if( can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:118:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from ./Swift/Controllers/Chat/ChatController.h:15, from Swift/Controllers/Chat/ChatController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp: In member function 'bool boost::regex_token_iterator_implementation::init(BidirectionalIterator)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp:110:70: warning: use of old-style cast [-Wold-style-cast] result = ((subs[N] == -1) ? what.prefix() : what[(int)subs[N]]); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp: In member function 'bool boost::regex_token_iterator_implementation::next()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp:139:31: warning: use of old-style cast [-Wold-style-cast] if(N+1 < (int)subs.size()) ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:130:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from ./Swift/Controllers/Chat/ChatController.h:15, from Swift/Controllers/Chat/ChatController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_split.hpp: In function 'std::size_t boost::regex_split(OutputIterator, std::__cxx11::basic_string&, const boost::basic_regex&, boost::regex_constants::match_flag_type, std::size_t)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_split.hpp:126:62: warning: use of old-style cast [-Wold-style-cast] *out = std::basic_string((ci_t)last, (ci_t)s.end()); ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_split.hpp:126:80: warning: use of old-style cast [-Wold-style-cast] *out = std::basic_string((ci_t)last, (ci_t)s.end()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_archive.hpp:244:0, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/basic_oarchive.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_oarchive.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_oarchive.hpp:29, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_oarchive.hpp:31, from ./Swift/Controllers/HighlightRule.h:19, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from ./Swift/Controllers/Chat/ChatController.h:15, from Swift/Controllers/Chat/ChatController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/serialization/level.hpp: In function 'bool boost::serialization::operator>=(boost::serialization::implementation_level, boost::serialization::level_type)': /tmp/chat/swift/work/.buildlink/include/boost/serialization/level.hpp:91:28: warning: use of old-style cast [-Wold-style-cast] return t.value >= (int)l; ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/oserializer.hpp:56:0, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/interface_oarchive.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_oarchive.hpp:22, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_oarchive.hpp:29, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_oarchive.hpp:31, from ./Swift/Controllers/HighlightRule.h:19, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from ./Swift/Controllers/Chat/ChatController.h:15, from Swift/Controllers/Chat/ChatController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/serialization/tracking.hpp: In function 'bool boost::serialization::operator>=(boost::serialization::tracking_level, boost::serialization::tracking_type)': /tmp/chat/swift/work/.buildlink/include/boost/serialization/tracking.hpp:82:28: warning: use of old-style cast [-Wold-style-cast] return t.value >= (int)l; ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/interface_iarchive.hpp:22:0, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_iarchive.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_iarchive.hpp:30, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_iarchive.hpp:24, from ./Swift/Controllers/HighlightRule.h:20, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from ./Swift/Controllers/Chat/ChatController.h:15, from Swift/Controllers/Chat/ChatController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/iserializer.hpp: In static member function 'static void boost::archive::detail::load_pointer_type::invoke(Archive&, Tptr&)': /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/iserializer.hpp:546:24: warning: use of old-style cast [-Wold-style-cast] (void * & )t, ^ In file included from Swift/Controllers/Chat/ChatController.cpp:9:0: /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp:41:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. ) ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/assert.hpp:58:0, from /tmp/chat/swift/work/.buildlink/include/boost/format/feed_args.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/format.hpp:49, from ./Swiften/Base/format.h:9, from Swift/Controllers/Chat/ChatController.cpp:17: /tmp/chat/swift/work/.buildlink/include/boost/format/feed_args.hpp: In function 'void boost::io::detail::put(T, const boost::io::detail::format_item&, typename boost::basic_format::string_type&, typename boost::basic_format::internal_streambuf_t&, boost::io::detail::locale_t*)': /tmp/chat/swift/work/.buildlink/include/boost/format/feed_args.hpp:268:79: warning: use of old-style cast [-Wold-style-cast] BOOST_ASSERT(i+(tmp_size-i)+(std::max)(d,(std::streamsize)0) ^ /tmp/chat/swift/work/.buildlink/include/boost/format/feed_args.hpp:268:21: note: in expansion of macro 'BOOST_ASSERT' BOOST_ASSERT(i+(tmp_size-i)+(std::max)(d,(std::streamsize)0) ^ CXX Swift/Controllers/Chat/ChatControllerBase.o In file included from /tmp/chat/swift/work/.buildlink/include/boost/detail/workaround.hpp:8:0, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/compiler_config.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:14, from ./Swift/Controllers/Chat/ChatControllerBase.h:13, from Swift/Controllers/Chat/ChatControllerBase.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major___WORKAROUND_GUARD" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:261:10: note: in definition of macro 'BOOST_WORKAROUND' ((symbol ## _WORKAROUND_GUARD + 0 == 0) && \ ^~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major__" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:262:9: note: in definition of macro 'BOOST_WORKAROUND' (symbol != 0) && (1 % (( (symbol test) ) + 1))) ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/arg.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swift/Controllers/Chat/ChatControllerBase.h:13, from Swift/Controllers/Chat/ChatControllerBase.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:27:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:45:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:63:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:81:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:99:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:117:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:142:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT(( ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:148:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_category)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:149:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:150:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:152:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:161:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/compiler_config.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:14, from ./Swift/Controllers/Chat/ChatControllerBase.h:13, from Swift/Controllers/Chat/ChatControllerBase.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast [-Wold-style-cast] , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept/assert.hpp:35:0, from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swift/Controllers/Chat/ChatControllerBase.h:13, from Swift/Controllers/Chat/ChatControllerBase.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->constraints(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:31:0, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swift/Controllers/Chat/ChatControllerBase.h:13, from Swift/Controllers/Chat/ChatControllerBase.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements::~usage_requirements()': /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast [-Wold-style-cast] ~usage_requirements() { ((Model*)0)->~Model(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/arg.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swift/Controllers/Chat/ChatControllerBase.h:13, from Swift/Controllers/Chat/ChatControllerBase.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp:147:7: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((boost::is_integral)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast [-Wold-style-cast] >::************)) 0 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp:148:7: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' BOOST_MPL_ASSERT_RELATION(std::numeric_limits::is_signed, ==, true); ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:188:13: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_integral)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast [-Wold-style-cast] >::************)) 0 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' BOOST_MPL_ASSERT_RELATION(std::numeric_limits::is_signed, ==, true); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/compiler_config.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:14, from ./Swift/Controllers/Chat/ChatControllerBase.h:13, from Swift/Controllers/Chat/ChatControllerBase.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp:136:63: warning: use of old-style cast [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits.hpp:35:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/regex_traits.hpp:28, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:39, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from Swift/Controllers/Chat/ChatControllerBase.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'boost::regex_constants::syntax_type boost::re_detail_500::get_default_syntax_type(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:366:38: warning: use of old-style cast [-Wold-style-cast] return char_syntax[(unsigned char)c]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'boost::regex_constants::escape_syntax_type boost::re_detail_500::get_default_escape_syntax_type(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:561:38: warning: use of old-style cast [-Wold-style-cast] return char_syntax[(unsigned char)c]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'std::ptrdiff_t boost::re_detail_500::global_length(const charT*) [with charT = wchar_t; std::ptrdiff_t = long int]': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:854:42: warning: use of old-style cast [-Wold-style-cast] return (std::ptrdiff_t)(std::wcslen)(p); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'char boost::re_detail_500::do_global_lower(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:870:59: warning: use of old-style cast [-Wold-style-cast] return static_cast((std::tolower)((unsigned char)c)); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'char boost::re_detail_500::do_global_upper(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:875:59: warning: use of old-style cast [-Wold-style-cast] return static_cast((std::toupper)((unsigned char)c)); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits.hpp:39:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/regex_traits.hpp:28, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:39, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from Swift/Controllers/Chat/ChatControllerBase.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_char_layer::init()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:289:15: warning: use of old-style cast [-Wold-style-cast] if((int)cat < 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:299:12: warning: use of old-style cast [-Wold-style-cast] if((int)cat >= 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_implementation::init()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:717:15: warning: use of old-style cast [-Wold-style-cast] if((int)cat < 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:727:12: warning: use of old-style cast [-Wold-style-cast] if((int)cat >= 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'int boost::cpp_regex_traits::value(charT, int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:1034:40: warning: use of old-style cast [-Wold-style-cast] return (int)toi(pc, pc + 1, radix); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_char_layer::init()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:1151:19: warning: use of old-style cast [-Wold-style-cast] if ((int)cat < 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:1161:16: warning: use of old-style cast [-Wold-style-cast] if ((int)cat >= 0) ^~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:22:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:67, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from Swift/Controllers/Chat/ChatControllerBase.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:109:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 4); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:119:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 8); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:128:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 10); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:137:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 16); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_value(T)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:221:53: warning: use of old-style cast [-Wold-style-cast] return (std::size_t)(v > 0 ? -1 : -2); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:223:40: warning: use of old-style cast [-Wold-style-cast] return (std::size_t)(-3); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:67, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from Swift/Controllers/Chat/ChatControllerBase.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp: In function 'std::size_t boost::hash_detail::hash_value_signed(T)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:283:54: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) (positive >> i) + (seed<<6) + (seed>>2); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:285:36: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) val + (seed<<6) + (seed>>2); ^~~ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp: In function 'std::size_t boost::hash_detail::hash_value_unsigned(T)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:303:49: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) (val >> i) + (seed<<6) + (seed>>2); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:305:36: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) val + (seed<<6) + (seed>>2); ^~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:73:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from Swift/Controllers/Chat/ChatControllerBase.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'void boost::re_detail_500::basic_regex_parser::parse(const charT*, const charT*, unsigned int)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:200:52: warning: use of old-style cast [-Wold-style-cast] this->m_pdata->m_mark_count = 1u + (std::size_t)m_mark_count; ^~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_repeat_range(bool)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:1222:55: warning: use of old-style cast [-Wold-style-cast] max = ((v >= 0) && (v < umax())) ? (std::size_t)v : (std::numeric_limits::max)(); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'charT boost::re_detail_500::basic_regex_parser::unescape_character()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:1835:121: warning: use of old-style cast [-Wold-style-cast] || ((std::numeric_limits::is_specialized) && (i > (boost::intmax_t)(std::numeric_limits::max)())) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:1880:81: warning: use of old-style cast [-Wold-style-cast] if((val < 0) || (val > (boost::intmax_t)(std::numeric_limits::max)())) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_perl_extension()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:2661:59: warning: use of old-style cast [-Wold-style-cast] else if(((std::ptrdiff_t)this->m_pdata->m_data.size() > (static_cast(b)->alt.i + this->getoffset(b))) && (static_cast(b)->alt.i > 0) && this->getaddress(static_cast(b)->alt.i, b)->type == syntax_element_alt) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:2726:48: warning: use of old-style cast [-Wold-style-cast] this->m_pdata->m_subs.at((std::size_t)markid - 1).second = std::distance(m_base, m_position) - 1; ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:76:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from Swift/Controllers/Chat/ChatControllerBase.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp: In member function 'boost::sub_match::difference_type boost::sub_match::length() const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:68:98: warning: use of old-style cast [-Wold-style-cast] difference_type n = matched ? ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second) : 0; ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:68:125: warning: use of old-style cast [-Wold-style-cast] difference_type n = matched ? ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second) : 0; ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:76:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from Swift/Controllers/Chat/ChatControllerBase.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp: In member function 'std::__cxx11::basic_string::value_type> boost::sub_match::str() const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:76:89: warning: use of old-style cast [-Wold-style-cast] std::size_t len = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second); ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:76:116: warning: use of old-style cast [-Wold-style-cast] std::size_t len = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second); ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:79:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from Swift/Controllers/Chat/ChatControllerBase.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp: In member function 'int boost::re_detail_500::trivial_format_traits::toi(const charT*&, const charT*, int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp:89:50: warning: use of old-style cast [-Wold-style-cast] return (int)global_toi(p1, p2, radix, *this); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp: In member function 'int boost::re_detail_500::basic_regex_formatter::toi(ForwardIter&, ForwardIter, int, const false_&)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp:172:63: warning: use of old-style cast [-Wold-style-cast] int r = (int)m_traits.toi(pos, &v[0] + v.size(), base); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:82:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from Swift/Controllers/Chat/ChatControllerBase.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'boost::match_results::difference_type boost::match_results::length(int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:134:34: warning: use of old-style cast [-Wold-style-cast] if((sub < (int)m_subs.size()) && (sub > 0)) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'boost::match_results::difference_type boost::match_results::position(boost::match_results::size_type) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:170:82: warning: use of old-style cast [-Wold-style-cast] return ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)(m_base), (BidiIterator)(s.first)); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:170:107: warning: use of old-style cast [-Wold-style-cast] return ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)(m_base), (BidiIterator)(s.first)); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'boost::match_results::string_type boost::match_results::str(int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:199:33: warning: use of old-style cast [-Wold-style-cast] if(sub < (int)m_subs.size() && (sub > 0)) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'const typename std::allocator_traits<_Alloc>::value_type& boost::match_results::operator[](int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:233:33: warning: use of old-style cast [-Wold-style-cast] if(sub < (int)m_subs.size() && (sub >= 0)) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'void boost::match_results::maybe_assign(const boost::match_results&)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:658:73: warning: use of old-style cast [-Wold-style-cast] len1 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p1->first, (BidiIterator)p1->second); ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:658:98: warning: use of old-style cast [-Wold-style-cast] len1 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p1->first, (BidiIterator)p1->second); ^~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:659:73: warning: use of old-style cast [-Wold-style-cast] len2 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p2->first, (BidiIterator)p2->second); ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:659:98: warning: use of old-style cast [-Wold-style-cast] len2 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p2->first, (BidiIterator)p2->second); ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:88:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from Swift/Controllers/Chat/ChatControllerBase.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp: In function 'bool boost::re_detail_500::can_start(char, const unsigned char*, unsigned char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:69:30: warning: use of old-style cast [-Wold-style-cast] return map[(unsigned char)c] & mask; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp: In function 'bool boost::re_detail_500::can_start(signed char, const unsigned char*, unsigned char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:73:30: warning: use of old-style cast [-Wold-style-cast] return map[(unsigned char)c] & mask; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp: In function 'int boost::re_detail_500::string_compare(const Seq&, const C*)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:144:38: warning: use of old-style cast [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:144:50: warning: use of old-style cast [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:144:62: warning: use of old-style cast [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:640:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:88, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from Swift/Controllers/Chat/ChatControllerBase.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_alt()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:573:67: warning: use of old-style cast [-Wold-style-cast] take_first = can_start(*position, jmp->_map, (unsigned char)mask_take); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:574:68: warning: use of old-style cast [-Wold-style-cast] take_second = can_start(*position, jmp->_map, (unsigned char)mask_skip); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_rep()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:617:67: warning: use of old-style cast [-Wold-style-cast] take_first = can_start(*position, rep->_map, (unsigned char)mask_take); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:618:68: warning: use of old-style cast [-Wold-style-cast] take_second = can_start(*position, rep->_map, (unsigned char)mask_skip); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_char_repeat()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:820:82: warning: use of old-style cast [-Wold-style-cast] count = (unsigned)::boost::BOOST_REGEX_DETAIL_NS::distance(origin, position); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_set_repeat()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:894:82: warning: use of old-style cast [-Wold-style-cast] count = (unsigned)::boost::BOOST_REGEX_DETAIL_NS::distance(origin, position); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_long_set_repeat()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:969:82: warning: use of old-style cast [-Wold-style-cast] count = (unsigned)::boost::BOOST_REGEX_DETAIL_NS::distance(origin, position); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:28:0, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from Swift/Controllers/Chat/ChatControllerBase.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'void boost::re_detail_500::perl_matcher::estimate_max_state_count(std::random_access_iterator_tag*)': /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: note: in definition of macro 'BOOST_REGEX_MAX_STATE_COUNT' # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: note: in definition of macro 'BOOST_REGEX_MAX_STATE_COUNT' # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: note: in definition of macro 'BOOST_REGEX_MAX_STATE_COUNT' # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: note: in definition of macro 'BOOST_REGEX_MAX_STATE_COUNT' # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: note: in definition of macro 'BOOST_REGEX_MAX_STATE_COUNT' # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:643:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:88, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from Swift/Controllers/Chat/ChatControllerBase.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_any()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:846:78: warning: use of old-style cast [-Wold-style-cast] while((position != last) && !can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_word()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:890:52: warning: use of old-style cast [-Wold-style-cast] if(can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_line()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:925:53: warning: use of old-style cast [-Wold-style-cast] if( can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:118:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from Swift/Controllers/Chat/ChatControllerBase.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp: In member function 'bool boost::regex_token_iterator_implementation::init(BidirectionalIterator)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp:110:70: warning: use of old-style cast [-Wold-style-cast] result = ((subs[N] == -1) ? what.prefix() : what[(int)subs[N]]); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp: In member function 'bool boost::regex_token_iterator_implementation::next()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp:139:31: warning: use of old-style cast [-Wold-style-cast] if(N+1 < (int)subs.size()) ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:130:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from Swift/Controllers/Chat/ChatControllerBase.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_split.hpp: In function 'std::size_t boost::regex_split(OutputIterator, std::__cxx11::basic_string&, const boost::basic_regex&, boost::regex_constants::match_flag_type, std::size_t)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_split.hpp:126:62: warning: use of old-style cast [-Wold-style-cast] *out = std::basic_string((ci_t)last, (ci_t)s.end()); ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_split.hpp:126:80: warning: use of old-style cast [-Wold-style-cast] *out = std::basic_string((ci_t)last, (ci_t)s.end()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_archive.hpp:244:0, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/basic_oarchive.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_oarchive.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_oarchive.hpp:29, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_oarchive.hpp:31, from ./Swift/Controllers/HighlightRule.h:19, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from Swift/Controllers/Chat/ChatControllerBase.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/serialization/level.hpp: In function 'bool boost::serialization::operator>=(boost::serialization::implementation_level, boost::serialization::level_type)': /tmp/chat/swift/work/.buildlink/include/boost/serialization/level.hpp:91:28: warning: use of old-style cast [-Wold-style-cast] return t.value >= (int)l; ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/oserializer.hpp:56:0, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/interface_oarchive.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_oarchive.hpp:22, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_oarchive.hpp:29, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_oarchive.hpp:31, from ./Swift/Controllers/HighlightRule.h:19, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from Swift/Controllers/Chat/ChatControllerBase.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/serialization/tracking.hpp: In function 'bool boost::serialization::operator>=(boost::serialization::tracking_level, boost::serialization::tracking_type)': /tmp/chat/swift/work/.buildlink/include/boost/serialization/tracking.hpp:82:28: warning: use of old-style cast [-Wold-style-cast] return t.value >= (int)l; ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/interface_iarchive.hpp:22:0, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_iarchive.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_iarchive.hpp:30, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_iarchive.hpp:24, from ./Swift/Controllers/HighlightRule.h:20, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from Swift/Controllers/Chat/ChatControllerBase.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/iserializer.hpp: In static member function 'static void boost::archive::detail::load_pointer_type::invoke(Archive&, Tptr&)': /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/iserializer.hpp:546:24: warning: use of old-style cast [-Wold-style-cast] (void * & )t, ^ In file included from Swift/Controllers/Chat/ChatControllerBase.cpp:13:0: /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp:41:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. ) ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/assert.hpp:58:0, from /tmp/chat/swift/work/.buildlink/include/boost/format/feed_args.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/format.hpp:49, from ./Swiften/Base/format.h:9, from Swift/Controllers/Chat/ChatControllerBase.cpp:23: /tmp/chat/swift/work/.buildlink/include/boost/format/feed_args.hpp: In function 'void boost::io::detail::put(T, const boost::io::detail::format_item&, typename boost::basic_format::string_type&, typename boost::basic_format::internal_streambuf_t&, boost::io::detail::locale_t*)': /tmp/chat/swift/work/.buildlink/include/boost/format/feed_args.hpp:268:79: warning: use of old-style cast [-Wold-style-cast] BOOST_ASSERT(i+(tmp_size-i)+(std::max)(d,(std::streamsize)0) ^ /tmp/chat/swift/work/.buildlink/include/boost/format/feed_args.hpp:268:21: note: in expansion of macro 'BOOST_ASSERT' BOOST_ASSERT(i+(tmp_size-i)+(std::max)(d,(std::streamsize)0) ^ CXX Swift/Controllers/Chat/ChatMessageParser.o In file included from /tmp/chat/swift/work/.buildlink/include/boost/detail/workaround.hpp:8:0, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/compiler_config.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:14, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:12, from ./Swift/Controllers/Chat/ChatMessageParser.h:11, from Swift/Controllers/Chat/ChatMessageParser.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major___WORKAROUND_GUARD" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:261:10: note: in definition of macro 'BOOST_WORKAROUND' ((symbol ## _WORKAROUND_GUARD + 0 == 0) && \ ^~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major__" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:262:9: note: in definition of macro 'BOOST_WORKAROUND' (symbol != 0) && (1 % (( (symbol test) ) + 1))) ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/arg.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:12, from ./Swift/Controllers/Chat/ChatMessageParser.h:11, from Swift/Controllers/Chat/ChatMessageParser.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:27:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:45:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:63:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:81:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:99:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:117:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:142:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT(( ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:148:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_category)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:149:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:150:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:152:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:161:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/compiler_config.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:14, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:12, from ./Swift/Controllers/Chat/ChatMessageParser.h:11, from Swift/Controllers/Chat/ChatMessageParser.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast [-Wold-style-cast] , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept/assert.hpp:35:0, from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:12, from ./Swift/Controllers/Chat/ChatMessageParser.h:11, from Swift/Controllers/Chat/ChatMessageParser.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->constraints(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:31:0, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:12, from ./Swift/Controllers/Chat/ChatMessageParser.h:11, from Swift/Controllers/Chat/ChatMessageParser.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements::~usage_requirements()': /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast [-Wold-style-cast] ~usage_requirements() { ((Model*)0)->~Model(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/arg.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:12, from ./Swift/Controllers/Chat/ChatMessageParser.h:11, from Swift/Controllers/Chat/ChatMessageParser.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp:147:7: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((boost::is_integral)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast [-Wold-style-cast] >::************)) 0 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp:148:7: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' BOOST_MPL_ASSERT_RELATION(std::numeric_limits::is_signed, ==, true); ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:188:13: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_integral)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast [-Wold-style-cast] >::************)) 0 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' BOOST_MPL_ASSERT_RELATION(std::numeric_limits::is_signed, ==, true); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/compiler_config.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:14, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:12, from ./Swift/Controllers/Chat/ChatMessageParser.h:11, from Swift/Controllers/Chat/ChatMessageParser.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp:136:63: warning: use of old-style cast [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/allocate_shared_array.hpp:11:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/make_shared_array.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/make_shared.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/make_shared.hpp:14, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:13, from ./Swift/Controllers/Chat/ChatMessageParser.h:11, from Swift/Controllers/Chat/ChatMessageParser.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /tmp/chat/swift/work/.buildlink/include/boost/core/allocator_access.hpp:414:18: warning: use of old-style cast [-Wold-style-cast] ::new((void*)p) T(std::forward(args)...); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/core/alloc_construct.hpp:11:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/allocate_shared_array.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/make_shared_array.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/make_shared.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/make_shared.hpp:14, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:13, from ./Swift/Controllers/Chat/ChatMessageParser.h:11, from Swift/Controllers/Chat/ChatMessageParser.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor::construct(U*)': /tmp/chat/swift/work/.buildlink/include/boost/core/noinit_adaptor.hpp:46:22: warning: use of old-style cast [-Wold-style-cast] ::new((void*)p) U; ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits.hpp:35:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/regex_traits.hpp:28, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:39, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatMessageParser.h:11, from Swift/Controllers/Chat/ChatMessageParser.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'boost::regex_constants::syntax_type boost::re_detail_500::get_default_syntax_type(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:366:38: warning: use of old-style cast [-Wold-style-cast] return char_syntax[(unsigned char)c]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'boost::regex_constants::escape_syntax_type boost::re_detail_500::get_default_escape_syntax_type(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:561:38: warning: use of old-style cast [-Wold-style-cast] return char_syntax[(unsigned char)c]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'std::ptrdiff_t boost::re_detail_500::global_length(const charT*) [with charT = wchar_t; std::ptrdiff_t = long int]': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:854:42: warning: use of old-style cast [-Wold-style-cast] return (std::ptrdiff_t)(std::wcslen)(p); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'char boost::re_detail_500::do_global_lower(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:870:59: warning: use of old-style cast [-Wold-style-cast] return static_cast((std::tolower)((unsigned char)c)); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'char boost::re_detail_500::do_global_upper(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:875:59: warning: use of old-style cast [-Wold-style-cast] return static_cast((std::toupper)((unsigned char)c)); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits.hpp:39:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/regex_traits.hpp:28, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:39, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatMessageParser.h:11, from Swift/Controllers/Chat/ChatMessageParser.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_char_layer::init()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:289:15: warning: use of old-style cast [-Wold-style-cast] if((int)cat < 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:299:12: warning: use of old-style cast [-Wold-style-cast] if((int)cat >= 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_implementation::init()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:717:15: warning: use of old-style cast [-Wold-style-cast] if((int)cat < 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:727:12: warning: use of old-style cast [-Wold-style-cast] if((int)cat >= 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'int boost::cpp_regex_traits::value(charT, int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:1034:40: warning: use of old-style cast [-Wold-style-cast] return (int)toi(pc, pc + 1, radix); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_char_layer::init()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:1151:19: warning: use of old-style cast [-Wold-style-cast] if ((int)cat < 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:1161:16: warning: use of old-style cast [-Wold-style-cast] if ((int)cat >= 0) ^~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:22:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:67, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatMessageParser.h:11, from Swift/Controllers/Chat/ChatMessageParser.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:109:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 4); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:119:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 8); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:128:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 10); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:137:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 16); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_value(T)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:221:53: warning: use of old-style cast [-Wold-style-cast] return (std::size_t)(v > 0 ? -1 : -2); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:223:40: warning: use of old-style cast [-Wold-style-cast] return (std::size_t)(-3); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:67, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatMessageParser.h:11, from Swift/Controllers/Chat/ChatMessageParser.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp: In function 'std::size_t boost::hash_detail::hash_value_signed(T)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:283:54: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) (positive >> i) + (seed<<6) + (seed>>2); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:285:36: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) val + (seed<<6) + (seed>>2); ^~~ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp: In function 'std::size_t boost::hash_detail::hash_value_unsigned(T)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:303:49: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) (val >> i) + (seed<<6) + (seed>>2); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:305:36: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) val + (seed<<6) + (seed>>2); ^~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:73:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatMessageParser.h:11, from Swift/Controllers/Chat/ChatMessageParser.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'void boost::re_detail_500::basic_regex_parser::parse(const charT*, const charT*, unsigned int)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:200:52: warning: use of old-style cast [-Wold-style-cast] this->m_pdata->m_mark_count = 1u + (std::size_t)m_mark_count; ^~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_repeat_range(bool)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:1222:55: warning: use of old-style cast [-Wold-style-cast] max = ((v >= 0) && (v < umax())) ? (std::size_t)v : (std::numeric_limits::max)(); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'charT boost::re_detail_500::basic_regex_parser::unescape_character()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:1835:121: warning: use of old-style cast [-Wold-style-cast] || ((std::numeric_limits::is_specialized) && (i > (boost::intmax_t)(std::numeric_limits::max)())) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:1880:81: warning: use of old-style cast [-Wold-style-cast] if((val < 0) || (val > (boost::intmax_t)(std::numeric_limits::max)())) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_perl_extension()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:2661:59: warning: use of old-style cast [-Wold-style-cast] else if(((std::ptrdiff_t)this->m_pdata->m_data.size() > (static_cast(b)->alt.i + this->getoffset(b))) && (static_cast(b)->alt.i > 0) && this->getaddress(static_cast(b)->alt.i, b)->type == syntax_element_alt) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:2726:48: warning: use of old-style cast [-Wold-style-cast] this->m_pdata->m_subs.at((std::size_t)markid - 1).second = std::distance(m_base, m_position) - 1; ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:76:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatMessageParser.h:11, from Swift/Controllers/Chat/ChatMessageParser.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp: In member function 'boost::sub_match::difference_type boost::sub_match::length() const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:68:98: warning: use of old-style cast [-Wold-style-cast] difference_type n = matched ? ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second) : 0; ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:68:125: warning: use of old-style cast [-Wold-style-cast] difference_type n = matched ? ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second) : 0; ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:76:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatMessageParser.h:11, from Swift/Controllers/Chat/ChatMessageParser.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp: In member function 'std::__cxx11::basic_string::value_type> boost::sub_match::str() const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:76:89: warning: use of old-style cast [-Wold-style-cast] std::size_t len = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second); ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:76:116: warning: use of old-style cast [-Wold-style-cast] std::size_t len = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second); ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:79:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatMessageParser.h:11, from Swift/Controllers/Chat/ChatMessageParser.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp: In member function 'int boost::re_detail_500::trivial_format_traits::toi(const charT*&, const charT*, int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp:89:50: warning: use of old-style cast [-Wold-style-cast] return (int)global_toi(p1, p2, radix, *this); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp: In member function 'int boost::re_detail_500::basic_regex_formatter::toi(ForwardIter&, ForwardIter, int, const false_&)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp:172:63: warning: use of old-style cast [-Wold-style-cast] int r = (int)m_traits.toi(pos, &v[0] + v.size(), base); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:82:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatMessageParser.h:11, from Swift/Controllers/Chat/ChatMessageParser.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'boost::match_results::difference_type boost::match_results::length(int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:134:34: warning: use of old-style cast [-Wold-style-cast] if((sub < (int)m_subs.size()) && (sub > 0)) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'boost::match_results::difference_type boost::match_results::position(boost::match_results::size_type) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:170:82: warning: use of old-style cast [-Wold-style-cast] return ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)(m_base), (BidiIterator)(s.first)); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:170:107: warning: use of old-style cast [-Wold-style-cast] return ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)(m_base), (BidiIterator)(s.first)); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'boost::match_results::string_type boost::match_results::str(int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:199:33: warning: use of old-style cast [-Wold-style-cast] if(sub < (int)m_subs.size() && (sub > 0)) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'const typename std::allocator_traits<_Alloc>::value_type& boost::match_results::operator[](int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:233:33: warning: use of old-style cast [-Wold-style-cast] if(sub < (int)m_subs.size() && (sub >= 0)) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'void boost::match_results::maybe_assign(const boost::match_results&)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:658:73: warning: use of old-style cast [-Wold-style-cast] len1 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p1->first, (BidiIterator)p1->second); ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:658:98: warning: use of old-style cast [-Wold-style-cast] len1 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p1->first, (BidiIterator)p1->second); ^~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:659:73: warning: use of old-style cast [-Wold-style-cast] len2 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p2->first, (BidiIterator)p2->second); ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:659:98: warning: use of old-style cast [-Wold-style-cast] len2 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p2->first, (BidiIterator)p2->second); ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:88:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatMessageParser.h:11, from Swift/Controllers/Chat/ChatMessageParser.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp: In function 'bool boost::re_detail_500::can_start(char, const unsigned char*, unsigned char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:69:30: warning: use of old-style cast [-Wold-style-cast] return map[(unsigned char)c] & mask; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp: In function 'bool boost::re_detail_500::can_start(signed char, const unsigned char*, unsigned char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:73:30: warning: use of old-style cast [-Wold-style-cast] return map[(unsigned char)c] & mask; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp: In function 'int boost::re_detail_500::string_compare(const Seq&, const C*)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:144:38: warning: use of old-style cast [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:144:50: warning: use of old-style cast [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:144:62: warning: use of old-style cast [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:640:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:88, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatMessageParser.h:11, from Swift/Controllers/Chat/ChatMessageParser.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_alt()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:573:67: warning: use of old-style cast [-Wold-style-cast] take_first = can_start(*position, jmp->_map, (unsigned char)mask_take); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:574:68: warning: use of old-style cast [-Wold-style-cast] take_second = can_start(*position, jmp->_map, (unsigned char)mask_skip); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_rep()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:617:67: warning: use of old-style cast [-Wold-style-cast] take_first = can_start(*position, rep->_map, (unsigned char)mask_take); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:618:68: warning: use of old-style cast [-Wold-style-cast] take_second = can_start(*position, rep->_map, (unsigned char)mask_skip); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_char_repeat()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:820:82: warning: use of old-style cast [-Wold-style-cast] count = (unsigned)::boost::BOOST_REGEX_DETAIL_NS::distance(origin, position); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_set_repeat()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:894:82: warning: use of old-style cast [-Wold-style-cast] count = (unsigned)::boost::BOOST_REGEX_DETAIL_NS::distance(origin, position); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_long_set_repeat()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:969:82: warning: use of old-style cast [-Wold-style-cast] count = (unsigned)::boost::BOOST_REGEX_DETAIL_NS::distance(origin, position); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:28:0, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatMessageParser.h:11, from Swift/Controllers/Chat/ChatMessageParser.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'void boost::re_detail_500::perl_matcher::estimate_max_state_count(std::random_access_iterator_tag*)': /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: note: in definition of macro 'BOOST_REGEX_MAX_STATE_COUNT' # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: note: in definition of macro 'BOOST_REGEX_MAX_STATE_COUNT' # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: note: in definition of macro 'BOOST_REGEX_MAX_STATE_COUNT' # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: note: in definition of macro 'BOOST_REGEX_MAX_STATE_COUNT' # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: note: in definition of macro 'BOOST_REGEX_MAX_STATE_COUNT' # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:643:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:88, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatMessageParser.h:11, from Swift/Controllers/Chat/ChatMessageParser.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_any()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:846:78: warning: use of old-style cast [-Wold-style-cast] while((position != last) && !can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_word()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:890:52: warning: use of old-style cast [-Wold-style-cast] if(can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_line()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:925:53: warning: use of old-style cast [-Wold-style-cast] if( can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:118:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatMessageParser.h:11, from Swift/Controllers/Chat/ChatMessageParser.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp: In member function 'bool boost::regex_token_iterator_implementation::init(BidirectionalIterator)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp:110:70: warning: use of old-style cast [-Wold-style-cast] result = ((subs[N] == -1) ? what.prefix() : what[(int)subs[N]]); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp: In member function 'bool boost::regex_token_iterator_implementation::next()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp:139:31: warning: use of old-style cast [-Wold-style-cast] if(N+1 < (int)subs.size()) ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:130:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatMessageParser.h:11, from Swift/Controllers/Chat/ChatMessageParser.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_split.hpp: In function 'std::size_t boost::regex_split(OutputIterator, std::__cxx11::basic_string&, const boost::basic_regex&, boost::regex_constants::match_flag_type, std::size_t)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_split.hpp:126:62: warning: use of old-style cast [-Wold-style-cast] *out = std::basic_string((ci_t)last, (ci_t)s.end()); ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_split.hpp:126:80: warning: use of old-style cast [-Wold-style-cast] *out = std::basic_string((ci_t)last, (ci_t)s.end()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_archive.hpp:244:0, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/basic_oarchive.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_oarchive.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_oarchive.hpp:29, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_oarchive.hpp:31, from ./Swift/Controllers/HighlightRule.h:19, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatMessageParser.h:11, from Swift/Controllers/Chat/ChatMessageParser.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/serialization/level.hpp: In function 'bool boost::serialization::operator>=(boost::serialization::implementation_level, boost::serialization::level_type)': /tmp/chat/swift/work/.buildlink/include/boost/serialization/level.hpp:91:28: warning: use of old-style cast [-Wold-style-cast] return t.value >= (int)l; ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/oserializer.hpp:56:0, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/interface_oarchive.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_oarchive.hpp:22, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_oarchive.hpp:29, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_oarchive.hpp:31, from ./Swift/Controllers/HighlightRule.h:19, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatMessageParser.h:11, from Swift/Controllers/Chat/ChatMessageParser.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/serialization/tracking.hpp: In function 'bool boost::serialization::operator>=(boost::serialization::tracking_level, boost::serialization::tracking_type)': /tmp/chat/swift/work/.buildlink/include/boost/serialization/tracking.hpp:82:28: warning: use of old-style cast [-Wold-style-cast] return t.value >= (int)l; ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/interface_iarchive.hpp:22:0, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_iarchive.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_iarchive.hpp:30, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_iarchive.hpp:24, from ./Swift/Controllers/HighlightRule.h:20, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatMessageParser.h:11, from Swift/Controllers/Chat/ChatMessageParser.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/iserializer.hpp: In static member function 'static void boost::archive::detail::load_pointer_type::invoke(Archive&, Tptr&)': /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/iserializer.hpp:546:24: warning: use of old-style cast [-Wold-style-cast] (void * & )t, ^ CXX Swift/Controllers/Chat/ChatsManager.o In file included from /tmp/chat/swift/work/.buildlink/include/boost/throw_exception.hpp:26:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/shared_ptr.hpp:17, from ./Swift/Controllers/Chat/ChatsManager.h:12, from Swift/Controllers/Chat/ChatsManager.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major___WORKAROUND_GUARD" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:261:10: note: in definition of macro 'BOOST_WORKAROUND' ((symbol ## _WORKAROUND_GUARD + 0 == 0) && \ ^~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major__" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:262:9: note: in definition of macro 'BOOST_WORKAROUND' (symbol != 0) && (1 % (( (symbol test) ) + 1))) ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/allocate_shared_array.hpp:11:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/make_shared_array.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/make_shared.hpp:17, from ./Swiften/Elements/Message.h:13, from ./Swift/Controllers/Chat/ChatsManager.h:16, from Swift/Controllers/Chat/ChatsManager.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /tmp/chat/swift/work/.buildlink/include/boost/core/allocator_access.hpp:414:18: warning: use of old-style cast [-Wold-style-cast] ::new((void*)p) T(std::forward(args)...); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/core/alloc_construct.hpp:11:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/allocate_shared_array.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/make_shared_array.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/make_shared.hpp:17, from ./Swiften/Elements/Message.h:13, from ./Swift/Controllers/Chat/ChatsManager.h:16, from Swift/Controllers/Chat/ChatsManager.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor::construct(U*)': /tmp/chat/swift/work/.buildlink/include/boost/core/noinit_adaptor.hpp:46:22: warning: use of old-style cast [-Wold-style-cast] ::new((void*)p) U; ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/bad_weak_ptr.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/shared_ptr.hpp:17, from ./Swift/Controllers/Chat/ChatsManager.h:12, from Swift/Controllers/Chat/ChatsManager.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/has_constraints.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast [-Wold-style-cast] , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept/assert.hpp:35:0, from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:12, from ./Swift/Controllers/Chat/ChatsManager.h:26, from Swift/Controllers/Chat/ChatsManager.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->constraints(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:31:0, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:12, from ./Swift/Controllers/Chat/ChatsManager.h:26, from Swift/Controllers/Chat/ChatsManager.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements::~usage_requirements()': /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast [-Wold-style-cast] ~usage_requirements() { ((Model*)0)->~Model(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/bad_weak_ptr.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/shared_ptr.hpp:17, from ./Swift/Controllers/Chat/ChatsManager.h:12, from Swift/Controllers/Chat/ChatsManager.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp:136:63: warning: use of old-style cast [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits.hpp:35:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/regex_traits.hpp:28, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:39, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatsManager.h:26, from Swift/Controllers/Chat/ChatsManager.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'boost::regex_constants::syntax_type boost::re_detail_500::get_default_syntax_type(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:366:38: warning: use of old-style cast [-Wold-style-cast] return char_syntax[(unsigned char)c]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'boost::regex_constants::escape_syntax_type boost::re_detail_500::get_default_escape_syntax_type(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:561:38: warning: use of old-style cast [-Wold-style-cast] return char_syntax[(unsigned char)c]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'std::ptrdiff_t boost::re_detail_500::global_length(const charT*) [with charT = wchar_t; std::ptrdiff_t = long int]': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:854:42: warning: use of old-style cast [-Wold-style-cast] return (std::ptrdiff_t)(std::wcslen)(p); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'char boost::re_detail_500::do_global_lower(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:870:59: warning: use of old-style cast [-Wold-style-cast] return static_cast((std::tolower)((unsigned char)c)); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'char boost::re_detail_500::do_global_upper(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:875:59: warning: use of old-style cast [-Wold-style-cast] return static_cast((std::toupper)((unsigned char)c)); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits.hpp:39:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/regex_traits.hpp:28, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:39, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatsManager.h:26, from Swift/Controllers/Chat/ChatsManager.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_char_layer::init()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:289:15: warning: use of old-style cast [-Wold-style-cast] if((int)cat < 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:299:12: warning: use of old-style cast [-Wold-style-cast] if((int)cat >= 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_implementation::init()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:717:15: warning: use of old-style cast [-Wold-style-cast] if((int)cat < 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:727:12: warning: use of old-style cast [-Wold-style-cast] if((int)cat >= 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'int boost::cpp_regex_traits::value(charT, int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:1034:40: warning: use of old-style cast [-Wold-style-cast] return (int)toi(pc, pc + 1, radix); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_char_layer::init()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:1151:19: warning: use of old-style cast [-Wold-style-cast] if ((int)cat < 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:1161:16: warning: use of old-style cast [-Wold-style-cast] if ((int)cat >= 0) ^~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:22:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:67, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatsManager.h:26, from Swift/Controllers/Chat/ChatsManager.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:109:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 4); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:119:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 8); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:128:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 10); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:137:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 16); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_value(T)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:221:53: warning: use of old-style cast [-Wold-style-cast] return (std::size_t)(v > 0 ? -1 : -2); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:223:40: warning: use of old-style cast [-Wold-style-cast] return (std::size_t)(-3); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:67, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatsManager.h:26, from Swift/Controllers/Chat/ChatsManager.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp: In function 'std::size_t boost::hash_detail::hash_value_signed(T)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:283:54: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) (positive >> i) + (seed<<6) + (seed>>2); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:285:36: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) val + (seed<<6) + (seed>>2); ^~~ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp: In function 'std::size_t boost::hash_detail::hash_value_unsigned(T)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:303:49: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) (val >> i) + (seed<<6) + (seed>>2); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:305:36: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) val + (seed<<6) + (seed>>2); ^~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:73:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatsManager.h:26, from Swift/Controllers/Chat/ChatsManager.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'void boost::re_detail_500::basic_regex_parser::parse(const charT*, const charT*, unsigned int)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:200:52: warning: use of old-style cast [-Wold-style-cast] this->m_pdata->m_mark_count = 1u + (std::size_t)m_mark_count; ^~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_repeat_range(bool)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:1222:55: warning: use of old-style cast [-Wold-style-cast] max = ((v >= 0) && (v < umax())) ? (std::size_t)v : (std::numeric_limits::max)(); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'charT boost::re_detail_500::basic_regex_parser::unescape_character()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:1835:121: warning: use of old-style cast [-Wold-style-cast] || ((std::numeric_limits::is_specialized) && (i > (boost::intmax_t)(std::numeric_limits::max)())) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:1880:81: warning: use of old-style cast [-Wold-style-cast] if((val < 0) || (val > (boost::intmax_t)(std::numeric_limits::max)())) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_perl_extension()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:2661:59: warning: use of old-style cast [-Wold-style-cast] else if(((std::ptrdiff_t)this->m_pdata->m_data.size() > (static_cast(b)->alt.i + this->getoffset(b))) && (static_cast(b)->alt.i > 0) && this->getaddress(static_cast(b)->alt.i, b)->type == syntax_element_alt) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:2726:48: warning: use of old-style cast [-Wold-style-cast] this->m_pdata->m_subs.at((std::size_t)markid - 1).second = std::distance(m_base, m_position) - 1; ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:76:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatsManager.h:26, from Swift/Controllers/Chat/ChatsManager.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp: In member function 'boost::sub_match::difference_type boost::sub_match::length() const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:68:98: warning: use of old-style cast [-Wold-style-cast] difference_type n = matched ? ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second) : 0; ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:68:125: warning: use of old-style cast [-Wold-style-cast] difference_type n = matched ? ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second) : 0; ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:76:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatsManager.h:26, from Swift/Controllers/Chat/ChatsManager.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp: In member function 'std::__cxx11::basic_string::value_type> boost::sub_match::str() const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:76:89: warning: use of old-style cast [-Wold-style-cast] std::size_t len = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second); ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:76:116: warning: use of old-style cast [-Wold-style-cast] std::size_t len = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second); ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:79:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatsManager.h:26, from Swift/Controllers/Chat/ChatsManager.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp: In member function 'int boost::re_detail_500::trivial_format_traits::toi(const charT*&, const charT*, int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp:89:50: warning: use of old-style cast [-Wold-style-cast] return (int)global_toi(p1, p2, radix, *this); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp: In member function 'int boost::re_detail_500::basic_regex_formatter::toi(ForwardIter&, ForwardIter, int, const false_&)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp:172:63: warning: use of old-style cast [-Wold-style-cast] int r = (int)m_traits.toi(pos, &v[0] + v.size(), base); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:82:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatsManager.h:26, from Swift/Controllers/Chat/ChatsManager.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'boost::match_results::difference_type boost::match_results::length(int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:134:34: warning: use of old-style cast [-Wold-style-cast] if((sub < (int)m_subs.size()) && (sub > 0)) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'boost::match_results::difference_type boost::match_results::position(boost::match_results::size_type) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:170:82: warning: use of old-style cast [-Wold-style-cast] return ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)(m_base), (BidiIterator)(s.first)); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:170:107: warning: use of old-style cast [-Wold-style-cast] return ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)(m_base), (BidiIterator)(s.first)); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'boost::match_results::string_type boost::match_results::str(int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:199:33: warning: use of old-style cast [-Wold-style-cast] if(sub < (int)m_subs.size() && (sub > 0)) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'const typename std::allocator_traits<_Alloc>::value_type& boost::match_results::operator[](int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:233:33: warning: use of old-style cast [-Wold-style-cast] if(sub < (int)m_subs.size() && (sub >= 0)) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'void boost::match_results::maybe_assign(const boost::match_results&)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:658:73: warning: use of old-style cast [-Wold-style-cast] len1 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p1->first, (BidiIterator)p1->second); ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:658:98: warning: use of old-style cast [-Wold-style-cast] len1 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p1->first, (BidiIterator)p1->second); ^~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:659:73: warning: use of old-style cast [-Wold-style-cast] len2 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p2->first, (BidiIterator)p2->second); ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:659:98: warning: use of old-style cast [-Wold-style-cast] len2 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p2->first, (BidiIterator)p2->second); ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:88:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatsManager.h:26, from Swift/Controllers/Chat/ChatsManager.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp: In function 'bool boost::re_detail_500::can_start(char, const unsigned char*, unsigned char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:69:30: warning: use of old-style cast [-Wold-style-cast] return map[(unsigned char)c] & mask; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp: In function 'bool boost::re_detail_500::can_start(signed char, const unsigned char*, unsigned char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:73:30: warning: use of old-style cast [-Wold-style-cast] return map[(unsigned char)c] & mask; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp: In function 'int boost::re_detail_500::string_compare(const Seq&, const C*)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:144:38: warning: use of old-style cast [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:144:50: warning: use of old-style cast [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:144:62: warning: use of old-style cast [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:640:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:88, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatsManager.h:26, from Swift/Controllers/Chat/ChatsManager.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_alt()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:573:67: warning: use of old-style cast [-Wold-style-cast] take_first = can_start(*position, jmp->_map, (unsigned char)mask_take); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:574:68: warning: use of old-style cast [-Wold-style-cast] take_second = can_start(*position, jmp->_map, (unsigned char)mask_skip); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_rep()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:617:67: warning: use of old-style cast [-Wold-style-cast] take_first = can_start(*position, rep->_map, (unsigned char)mask_take); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:618:68: warning: use of old-style cast [-Wold-style-cast] take_second = can_start(*position, rep->_map, (unsigned char)mask_skip); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_char_repeat()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:820:82: warning: use of old-style cast [-Wold-style-cast] count = (unsigned)::boost::BOOST_REGEX_DETAIL_NS::distance(origin, position); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_set_repeat()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:894:82: warning: use of old-style cast [-Wold-style-cast] count = (unsigned)::boost::BOOST_REGEX_DETAIL_NS::distance(origin, position); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_long_set_repeat()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:969:82: warning: use of old-style cast [-Wold-style-cast] count = (unsigned)::boost::BOOST_REGEX_DETAIL_NS::distance(origin, position); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:28:0, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatsManager.h:26, from Swift/Controllers/Chat/ChatsManager.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'void boost::re_detail_500::perl_matcher::estimate_max_state_count(std::random_access_iterator_tag*)': /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: note: in definition of macro 'BOOST_REGEX_MAX_STATE_COUNT' # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: note: in definition of macro 'BOOST_REGEX_MAX_STATE_COUNT' # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: note: in definition of macro 'BOOST_REGEX_MAX_STATE_COUNT' # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: note: in definition of macro 'BOOST_REGEX_MAX_STATE_COUNT' # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: note: in definition of macro 'BOOST_REGEX_MAX_STATE_COUNT' # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:643:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:88, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatsManager.h:26, from Swift/Controllers/Chat/ChatsManager.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_any()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:846:78: warning: use of old-style cast [-Wold-style-cast] while((position != last) && !can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_word()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:890:52: warning: use of old-style cast [-Wold-style-cast] if(can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_line()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:925:53: warning: use of old-style cast [-Wold-style-cast] if( can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:118:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatsManager.h:26, from Swift/Controllers/Chat/ChatsManager.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp: In member function 'bool boost::regex_token_iterator_implementation::init(BidirectionalIterator)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp:110:70: warning: use of old-style cast [-Wold-style-cast] result = ((subs[N] == -1) ? what.prefix() : what[(int)subs[N]]); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp: In member function 'bool boost::regex_token_iterator_implementation::next()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp:139:31: warning: use of old-style cast [-Wold-style-cast] if(N+1 < (int)subs.size()) ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:130:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatsManager.h:26, from Swift/Controllers/Chat/ChatsManager.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_split.hpp: In function 'std::size_t boost::regex_split(OutputIterator, std::__cxx11::basic_string&, const boost::basic_regex&, boost::regex_constants::match_flag_type, std::size_t)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_split.hpp:126:62: warning: use of old-style cast [-Wold-style-cast] *out = std::basic_string((ci_t)last, (ci_t)s.end()); ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_split.hpp:126:80: warning: use of old-style cast [-Wold-style-cast] *out = std::basic_string((ci_t)last, (ci_t)s.end()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_archive.hpp:244:0, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/basic_oarchive.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_oarchive.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_oarchive.hpp:29, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_oarchive.hpp:31, from ./Swift/Controllers/HighlightRule.h:19, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatsManager.h:26, from Swift/Controllers/Chat/ChatsManager.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/serialization/level.hpp: In function 'bool boost::serialization::operator>=(boost::serialization::implementation_level, boost::serialization::level_type)': /tmp/chat/swift/work/.buildlink/include/boost/serialization/level.hpp:91:28: warning: use of old-style cast [-Wold-style-cast] return t.value >= (int)l; ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/oserializer.hpp:56:0, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/interface_oarchive.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_oarchive.hpp:22, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_oarchive.hpp:29, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_oarchive.hpp:31, from ./Swift/Controllers/HighlightRule.h:19, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatsManager.h:26, from Swift/Controllers/Chat/ChatsManager.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/serialization/tracking.hpp: In function 'bool boost::serialization::operator>=(boost::serialization::tracking_level, boost::serialization::tracking_type)': /tmp/chat/swift/work/.buildlink/include/boost/serialization/tracking.hpp:82:28: warning: use of old-style cast [-Wold-style-cast] return t.value >= (int)l; ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/interface_iarchive.hpp:22:0, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_iarchive.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_iarchive.hpp:30, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_iarchive.hpp:24, from ./Swift/Controllers/HighlightRule.h:20, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatsManager.h:26, from Swift/Controllers/Chat/ChatsManager.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/iserializer.hpp: In static member function 'static void boost::archive::detail::load_pointer_type::invoke(Archive&, Tptr&)': /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/iserializer.hpp:546:24: warning: use of old-style cast [-Wold-style-cast] (void * & )t, ^ In file included from Swift/Controllers/Chat/ChatsManager.cpp:12:0: /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp:41:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. ) ^ CXX Swift/Controllers/Chat/MUCController.o In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/bad_weak_ptr.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/shared_ptr.hpp:17, from ./Swift/Controllers/Chat/MUCController.h:13, from Swift/Controllers/Chat/MUCController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast [-Wold-style-cast] , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept/assert.hpp:35:0, from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swift/Controllers/Chat/ChatControllerBase.h:13, from ./Swift/Controllers/Chat/MUCController.h:25, from Swift/Controllers/Chat/MUCController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->constraints(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:31:0, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swift/Controllers/Chat/ChatControllerBase.h:13, from ./Swift/Controllers/Chat/MUCController.h:25, from Swift/Controllers/Chat/MUCController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements::~usage_requirements()': /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast [-Wold-style-cast] ~usage_requirements() { ((Model*)0)->~Model(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/bad_weak_ptr.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/shared_ptr.hpp:17, from ./Swift/Controllers/Chat/MUCController.h:13, from Swift/Controllers/Chat/MUCController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp:136:63: warning: use of old-style cast [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits.hpp:35:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/regex_traits.hpp:28, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:39, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from ./Swift/Controllers/Chat/MUCController.h:25, from Swift/Controllers/Chat/MUCController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'boost::regex_constants::syntax_type boost::re_detail_500::get_default_syntax_type(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:366:38: warning: use of old-style cast [-Wold-style-cast] return char_syntax[(unsigned char)c]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'boost::regex_constants::escape_syntax_type boost::re_detail_500::get_default_escape_syntax_type(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:561:38: warning: use of old-style cast [-Wold-style-cast] return char_syntax[(unsigned char)c]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'std::ptrdiff_t boost::re_detail_500::global_length(const charT*) [with charT = wchar_t; std::ptrdiff_t = long int]': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:854:42: warning: use of old-style cast [-Wold-style-cast] return (std::ptrdiff_t)(std::wcslen)(p); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'char boost::re_detail_500::do_global_lower(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:870:59: warning: use of old-style cast [-Wold-style-cast] return static_cast((std::tolower)((unsigned char)c)); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'char boost::re_detail_500::do_global_upper(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:875:59: warning: use of old-style cast [-Wold-style-cast] return static_cast((std::toupper)((unsigned char)c)); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits.hpp:39:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/regex_traits.hpp:28, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:39, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from ./Swift/Controllers/Chat/MUCController.h:25, from Swift/Controllers/Chat/MUCController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_char_layer::init()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:289:15: warning: use of old-style cast [-Wold-style-cast] if((int)cat < 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:299:12: warning: use of old-style cast [-Wold-style-cast] if((int)cat >= 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_implementation::init()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:717:15: warning: use of old-style cast [-Wold-style-cast] if((int)cat < 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:727:12: warning: use of old-style cast [-Wold-style-cast] if((int)cat >= 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'int boost::cpp_regex_traits::value(charT, int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:1034:40: warning: use of old-style cast [-Wold-style-cast] return (int)toi(pc, pc + 1, radix); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_char_layer::init()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:1151:19: warning: use of old-style cast [-Wold-style-cast] if ((int)cat < 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:1161:16: warning: use of old-style cast [-Wold-style-cast] if ((int)cat >= 0) ^~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:22:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:67, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from ./Swift/Controllers/Chat/MUCController.h:25, from Swift/Controllers/Chat/MUCController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:109:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 4); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:119:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 8); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:128:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 10); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:137:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 16); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_value(T)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:221:53: warning: use of old-style cast [-Wold-style-cast] return (std::size_t)(v > 0 ? -1 : -2); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:223:40: warning: use of old-style cast [-Wold-style-cast] return (std::size_t)(-3); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:67, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from ./Swift/Controllers/Chat/MUCController.h:25, from Swift/Controllers/Chat/MUCController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp: In function 'std::size_t boost::hash_detail::hash_value_signed(T)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:283:54: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) (positive >> i) + (seed<<6) + (seed>>2); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:285:36: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) val + (seed<<6) + (seed>>2); ^~~ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp: In function 'std::size_t boost::hash_detail::hash_value_unsigned(T)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:303:49: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) (val >> i) + (seed<<6) + (seed>>2); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:305:36: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) val + (seed<<6) + (seed>>2); ^~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:73:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from ./Swift/Controllers/Chat/MUCController.h:25, from Swift/Controllers/Chat/MUCController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'void boost::re_detail_500::basic_regex_parser::parse(const charT*, const charT*, unsigned int)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:200:52: warning: use of old-style cast [-Wold-style-cast] this->m_pdata->m_mark_count = 1u + (std::size_t)m_mark_count; ^~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_repeat_range(bool)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:1222:55: warning: use of old-style cast [-Wold-style-cast] max = ((v >= 0) && (v < umax())) ? (std::size_t)v : (std::numeric_limits::max)(); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'charT boost::re_detail_500::basic_regex_parser::unescape_character()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:1835:121: warning: use of old-style cast [-Wold-style-cast] || ((std::numeric_limits::is_specialized) && (i > (boost::intmax_t)(std::numeric_limits::max)())) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:1880:81: warning: use of old-style cast [-Wold-style-cast] if((val < 0) || (val > (boost::intmax_t)(std::numeric_limits::max)())) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_perl_extension()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:2661:59: warning: use of old-style cast [-Wold-style-cast] else if(((std::ptrdiff_t)this->m_pdata->m_data.size() > (static_cast(b)->alt.i + this->getoffset(b))) && (static_cast(b)->alt.i > 0) && this->getaddress(static_cast(b)->alt.i, b)->type == syntax_element_alt) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:2726:48: warning: use of old-style cast [-Wold-style-cast] this->m_pdata->m_subs.at((std::size_t)markid - 1).second = std::distance(m_base, m_position) - 1; ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:76:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from ./Swift/Controllers/Chat/MUCController.h:25, from Swift/Controllers/Chat/MUCController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp: In member function 'boost::sub_match::difference_type boost::sub_match::length() const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:68:98: warning: use of old-style cast [-Wold-style-cast] difference_type n = matched ? ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second) : 0; ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:68:125: warning: use of old-style cast [-Wold-style-cast] difference_type n = matched ? ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second) : 0; ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:76:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from ./Swift/Controllers/Chat/MUCController.h:25, from Swift/Controllers/Chat/MUCController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp: In member function 'std::__cxx11::basic_string::value_type> boost::sub_match::str() const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:76:89: warning: use of old-style cast [-Wold-style-cast] std::size_t len = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second); ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:76:116: warning: use of old-style cast [-Wold-style-cast] std::size_t len = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second); ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:79:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from ./Swift/Controllers/Chat/MUCController.h:25, from Swift/Controllers/Chat/MUCController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp: In member function 'int boost::re_detail_500::trivial_format_traits::toi(const charT*&, const charT*, int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp:89:50: warning: use of old-style cast [-Wold-style-cast] return (int)global_toi(p1, p2, radix, *this); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp: In member function 'int boost::re_detail_500::basic_regex_formatter::toi(ForwardIter&, ForwardIter, int, const false_&)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp:172:63: warning: use of old-style cast [-Wold-style-cast] int r = (int)m_traits.toi(pos, &v[0] + v.size(), base); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:82:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from ./Swift/Controllers/Chat/MUCController.h:25, from Swift/Controllers/Chat/MUCController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'boost::match_results::difference_type boost::match_results::length(int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:134:34: warning: use of old-style cast [-Wold-style-cast] if((sub < (int)m_subs.size()) && (sub > 0)) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'boost::match_results::difference_type boost::match_results::position(boost::match_results::size_type) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:170:82: warning: use of old-style cast [-Wold-style-cast] return ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)(m_base), (BidiIterator)(s.first)); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:170:107: warning: use of old-style cast [-Wold-style-cast] return ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)(m_base), (BidiIterator)(s.first)); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'boost::match_results::string_type boost::match_results::str(int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:199:33: warning: use of old-style cast [-Wold-style-cast] if(sub < (int)m_subs.size() && (sub > 0)) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'const typename std::allocator_traits<_Alloc>::value_type& boost::match_results::operator[](int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:233:33: warning: use of old-style cast [-Wold-style-cast] if(sub < (int)m_subs.size() && (sub >= 0)) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'void boost::match_results::maybe_assign(const boost::match_results&)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:658:73: warning: use of old-style cast [-Wold-style-cast] len1 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p1->first, (BidiIterator)p1->second); ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:658:98: warning: use of old-style cast [-Wold-style-cast] len1 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p1->first, (BidiIterator)p1->second); ^~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:659:73: warning: use of old-style cast [-Wold-style-cast] len2 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p2->first, (BidiIterator)p2->second); ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:659:98: warning: use of old-style cast [-Wold-style-cast] len2 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p2->first, (BidiIterator)p2->second); ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:88:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from ./Swift/Controllers/Chat/MUCController.h:25, from Swift/Controllers/Chat/MUCController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp: In function 'bool boost::re_detail_500::can_start(char, const unsigned char*, unsigned char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:69:30: warning: use of old-style cast [-Wold-style-cast] return map[(unsigned char)c] & mask; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp: In function 'bool boost::re_detail_500::can_start(signed char, const unsigned char*, unsigned char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:73:30: warning: use of old-style cast [-Wold-style-cast] return map[(unsigned char)c] & mask; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp: In function 'int boost::re_detail_500::string_compare(const Seq&, const C*)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:144:38: warning: use of old-style cast [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:144:50: warning: use of old-style cast [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:144:62: warning: use of old-style cast [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:640:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:88, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from ./Swift/Controllers/Chat/MUCController.h:25, from Swift/Controllers/Chat/MUCController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_alt()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:573:67: warning: use of old-style cast [-Wold-style-cast] take_first = can_start(*position, jmp->_map, (unsigned char)mask_take); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:574:68: warning: use of old-style cast [-Wold-style-cast] take_second = can_start(*position, jmp->_map, (unsigned char)mask_skip); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_rep()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:617:67: warning: use of old-style cast [-Wold-style-cast] take_first = can_start(*position, rep->_map, (unsigned char)mask_take); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:618:68: warning: use of old-style cast [-Wold-style-cast] take_second = can_start(*position, rep->_map, (unsigned char)mask_skip); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_char_repeat()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:820:82: warning: use of old-style cast [-Wold-style-cast] count = (unsigned)::boost::BOOST_REGEX_DETAIL_NS::distance(origin, position); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_set_repeat()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:894:82: warning: use of old-style cast [-Wold-style-cast] count = (unsigned)::boost::BOOST_REGEX_DETAIL_NS::distance(origin, position); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_long_set_repeat()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:969:82: warning: use of old-style cast [-Wold-style-cast] count = (unsigned)::boost::BOOST_REGEX_DETAIL_NS::distance(origin, position); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:28:0, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from ./Swift/Controllers/Chat/MUCController.h:25, from Swift/Controllers/Chat/MUCController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'void boost::re_detail_500::perl_matcher::estimate_max_state_count(std::random_access_iterator_tag*)': /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: note: in definition of macro 'BOOST_REGEX_MAX_STATE_COUNT' # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: note: in definition of macro 'BOOST_REGEX_MAX_STATE_COUNT' # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: note: in definition of macro 'BOOST_REGEX_MAX_STATE_COUNT' # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: note: in definition of macro 'BOOST_REGEX_MAX_STATE_COUNT' # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: note: in definition of macro 'BOOST_REGEX_MAX_STATE_COUNT' # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:643:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:88, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from ./Swift/Controllers/Chat/MUCController.h:25, from Swift/Controllers/Chat/MUCController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_any()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:846:78: warning: use of old-style cast [-Wold-style-cast] while((position != last) && !can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_word()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:890:52: warning: use of old-style cast [-Wold-style-cast] if(can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_line()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:925:53: warning: use of old-style cast [-Wold-style-cast] if( can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:118:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from ./Swift/Controllers/Chat/MUCController.h:25, from Swift/Controllers/Chat/MUCController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp: In member function 'bool boost::regex_token_iterator_implementation::init(BidirectionalIterator)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp:110:70: warning: use of old-style cast [-Wold-style-cast] result = ((subs[N] == -1) ? what.prefix() : what[(int)subs[N]]); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp: In member function 'bool boost::regex_token_iterator_implementation::next()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp:139:31: warning: use of old-style cast [-Wold-style-cast] if(N+1 < (int)subs.size()) ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:130:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from ./Swift/Controllers/Chat/MUCController.h:25, from Swift/Controllers/Chat/MUCController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_split.hpp: In function 'std::size_t boost::regex_split(OutputIterator, std::__cxx11::basic_string&, const boost::basic_regex&, boost::regex_constants::match_flag_type, std::size_t)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_split.hpp:126:62: warning: use of old-style cast [-Wold-style-cast] *out = std::basic_string((ci_t)last, (ci_t)s.end()); ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_split.hpp:126:80: warning: use of old-style cast [-Wold-style-cast] *out = std::basic_string((ci_t)last, (ci_t)s.end()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_archive.hpp:244:0, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/basic_oarchive.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_oarchive.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_oarchive.hpp:29, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_oarchive.hpp:31, from ./Swift/Controllers/HighlightRule.h:19, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from ./Swift/Controllers/Chat/MUCController.h:25, from Swift/Controllers/Chat/MUCController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/serialization/level.hpp: In function 'bool boost::serialization::operator>=(boost::serialization::implementation_level, boost::serialization::level_type)': /tmp/chat/swift/work/.buildlink/include/boost/serialization/level.hpp:91:28: warning: use of old-style cast [-Wold-style-cast] return t.value >= (int)l; ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/oserializer.hpp:56:0, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/interface_oarchive.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_oarchive.hpp:22, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_oarchive.hpp:29, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_oarchive.hpp:31, from ./Swift/Controllers/HighlightRule.h:19, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from ./Swift/Controllers/Chat/MUCController.h:25, from Swift/Controllers/Chat/MUCController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/serialization/tracking.hpp: In function 'bool boost::serialization::operator>=(boost::serialization::tracking_level, boost::serialization::tracking_type)': /tmp/chat/swift/work/.buildlink/include/boost/serialization/tracking.hpp:82:28: warning: use of old-style cast [-Wold-style-cast] return t.value >= (int)l; ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/interface_iarchive.hpp:22:0, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_iarchive.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_iarchive.hpp:30, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_iarchive.hpp:24, from ./Swift/Controllers/HighlightRule.h:20, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/Chat/ChatControllerBase.h:31, from ./Swift/Controllers/Chat/MUCController.h:25, from Swift/Controllers/Chat/MUCController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/iserializer.hpp: In static member function 'static void boost::archive::detail::load_pointer_type::invoke(Archive&, Tptr&)': /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/iserializer.hpp:546:24: warning: use of old-style cast [-Wold-style-cast] (void * & )t, ^ In file included from Swift/Controllers/Chat/MUCController.cpp:11:0: /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp:41:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. ) ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/assert.hpp:58:0, from /tmp/chat/swift/work/.buildlink/include/boost/format/feed_args.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/format.hpp:49, from ./Swiften/Base/format.h:9, from Swift/Controllers/Chat/MUCController.cpp:18: /tmp/chat/swift/work/.buildlink/include/boost/format/feed_args.hpp: In function 'void boost::io::detail::put(T, const boost::io::detail::format_item&, typename boost::basic_format::string_type&, typename boost::basic_format::internal_streambuf_t&, boost::io::detail::locale_t*)': /tmp/chat/swift/work/.buildlink/include/boost/format/feed_args.hpp:268:79: warning: use of old-style cast [-Wold-style-cast] BOOST_ASSERT(i+(tmp_size-i)+(std::max)(d,(std::streamsize)0) ^ /tmp/chat/swift/work/.buildlink/include/boost/format/feed_args.hpp:268:21: note: in expansion of macro 'BOOST_ASSERT' BOOST_ASSERT(i+(tmp_size-i)+(std::max)(d,(std::streamsize)0) ^ CXX Swift/Controllers/Chat/MUCSearchController.o In file included from Swift/Controllers/Chat/MUCSearchController.cpp:11:0: /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp:41:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. ) ^ CXX Swift/Controllers/Chat/UserSearchController.o In file included from Swift/Controllers/Chat/UserSearchController.cpp:9:0: /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp:41:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. ) ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/bad_weak_ptr.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/shared_ptr.hpp:17, from ./Swift/Controllers/Chat/UserSearchController.h:13, from Swift/Controllers/Chat/UserSearchController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast [-Wold-style-cast] , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept/assert.hpp:35:0, from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swiften/VCards/VCardManager.h:11, from Swift/Controllers/Chat/UserSearchController.cpp:20: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->constraints(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:31:0, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swiften/VCards/VCardManager.h:11, from Swift/Controllers/Chat/UserSearchController.cpp:20: /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements::~usage_requirements()': /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast [-Wold-style-cast] ~usage_requirements() { ((Model*)0)->~Model(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/bad_weak_ptr.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/shared_ptr.hpp:17, from ./Swift/Controllers/Chat/UserSearchController.h:13, from Swift/Controllers/Chat/UserSearchController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp:136:63: warning: use of old-style cast [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ CXX Swift/Controllers/ChatMessageSummarizer.o In file included from /tmp/chat/swift/work/.buildlink/include/boost/detail/workaround.hpp:8:0, from /tmp/chat/swift/work/.buildlink/include/boost/format.hpp:19, from ./Swiften/Base/format.h:9, from Swift/Controllers/ChatMessageSummarizer.cpp:9: /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major___WORKAROUND_GUARD" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:261:10: note: in definition of macro 'BOOST_WORKAROUND' ((symbol ## _WORKAROUND_GUARD + 0 == 0) && \ ^~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major__" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:262:9: note: in definition of macro 'BOOST_WORKAROUND' (symbol != 0) && (1 % (( (symbol test) ) + 1))) ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/format/alt_sstream.hpp:19:0, from /tmp/chat/swift/work/.buildlink/include/boost/format/internals.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/format.hpp:38, from ./Swiften/Base/format.h:9, from Swift/Controllers/ChatMessageSummarizer.cpp:9: /tmp/chat/swift/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /tmp/chat/swift/work/.buildlink/include/boost/core/allocator_access.hpp:414:18: warning: use of old-style cast [-Wold-style-cast] ::new((void*)p) T(std::forward(args)...); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:41, from /tmp/chat/swift/work/.buildlink/include/boost/detail/workaround.hpp:8, from /tmp/chat/swift/work/.buildlink/include/boost/format.hpp:19, from ./Swiften/Base/format.h:9, from Swift/Controllers/ChatMessageSummarizer.cpp:9: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp:136:63: warning: use of old-style cast [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/assert.hpp:58:0, from /tmp/chat/swift/work/.buildlink/include/boost/format/feed_args.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/format.hpp:49, from ./Swiften/Base/format.h:9, from Swift/Controllers/ChatMessageSummarizer.cpp:9: /tmp/chat/swift/work/.buildlink/include/boost/format/feed_args.hpp: In function 'void boost::io::detail::put(T, const boost::io::detail::format_item&, typename boost::basic_format::string_type&, typename boost::basic_format::internal_streambuf_t&, boost::io::detail::locale_t*)': /tmp/chat/swift/work/.buildlink/include/boost/format/feed_args.hpp:268:79: warning: use of old-style cast [-Wold-style-cast] BOOST_ASSERT(i+(tmp_size-i)+(std::max)(d,(std::streamsize)0) ^ /tmp/chat/swift/work/.buildlink/include/boost/format/feed_args.hpp:268:21: note: in expansion of macro 'BOOST_ASSERT' BOOST_ASSERT(i+(tmp_size-i)+(std::max)(d,(std::streamsize)0) ^~~~~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/foreach.hpp:76:0, from ./Swiften/Base/foreach.h:9, from Swift/Controllers/ChatMessageSummarizer.cpp:11: /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:27:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:45:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:63:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:81:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:99:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:117:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:142:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT(( ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:148:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_category)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:149:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:150:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:152:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:161:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ CXX Swift/Controllers/Contact.o In file included from /tmp/chat/swift/work/.buildlink/include/boost/detail/workaround.hpp:8:0, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/config/workaround.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/config/adl.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/adl_barrier.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/bool_fwd.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/bool.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/sequence_traits.hpp:15, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/std/string_traits.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/std_containers_traits.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:18, from Swift/Controllers/Contact.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major___WORKAROUND_GUARD" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:261:10: note: in definition of macro 'BOOST_WORKAROUND' ((symbol ## _WORKAROUND_GUARD + 0 == 0) && \ ^~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major__" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:262:9: note: in definition of macro 'BOOST_WORKAROUND' (symbol != 0) && (1 % (( (symbol test) ) + 1))) ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/arg.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/range/as_literal.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/trim.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:19, from Swift/Controllers/Contact.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:27:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:45:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:63:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:81:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:99:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:117:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:142:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT(( ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:148:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_category)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:149:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:150:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:152:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:161:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/std_containers_traits.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:18, from Swift/Controllers/Contact.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast [-Wold-style-cast] , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept/assert.hpp:35:0, from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/range/as_literal.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/trim.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:19, from Swift/Controllers/Contact.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->constraints(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:31:0, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/range/as_literal.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/trim.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:19, from Swift/Controllers/Contact.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements::~usage_requirements()': /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast [-Wold-style-cast] ~usage_requirements() { ((Model*)0)->~Model(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/arg.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/range/as_literal.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/trim.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:19, from Swift/Controllers/Contact.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp:147:7: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((boost::is_integral)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast [-Wold-style-cast] >::************)) 0 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp:148:7: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' BOOST_MPL_ASSERT_RELATION(std::numeric_limits::is_signed, ==, true); ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:188:13: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_integral)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast [-Wold-style-cast] >::************)) 0 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' BOOST_MPL_ASSERT_RELATION(std::numeric_limits::is_signed, ==, true); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/std_containers_traits.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:18, from Swift/Controllers/Contact.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp:136:63: warning: use of old-style cast [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:15:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/Contact.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable0::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:22:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/Contact.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable1::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:29:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/Contact.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable2::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:36:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:29, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/Contact.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable3::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:43:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:34, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/Contact.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable4::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:50:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:39, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/Contact.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable5::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:57:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:44, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/Contact.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable6::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:64:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:49, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/Contact.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable7::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:71:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:54, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/Contact.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable8::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:78:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:59, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/Contact.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable9::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:85:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:64, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/Contact.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable10::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ CXX Swift/Controllers/ContactEditController.o In file included from /tmp/chat/swift/work/.buildlink/include/boost/core/explicit_operator_bool.hpp:22:0, from /tmp/chat/swift/work/.buildlink/include/boost/optional/optional.hpp:30, from /tmp/chat/swift/work/.buildlink/include/boost/optional.hpp:15, from ./Swift/Controllers/ContactEditController.h:11, from Swift/Controllers/ContactEditController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major___WORKAROUND_GUARD" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:261:10: note: in definition of macro 'BOOST_WORKAROUND' ((symbol ## _WORKAROUND_GUARD + 0 == 0) && \ ^~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major__" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:262:9: note: in definition of macro 'BOOST_WORKAROUND' (symbol != 0) && (1 % (( (symbol test) ) + 1))) ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/arg.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/filesystem/path.hpp:29, from ./Swiften/Base/ByteArray.h:13, from ./Swiften/Elements/VCard.h:15, from ./Swift/Controllers/ContactEditController.h:15, from Swift/Controllers/ContactEditController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:27:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:45:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:63:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:81:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:99:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:117:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:142:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT(( ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:148:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_category)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:149:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:150:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:152:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:161:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/core/addressof.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/optional/optional.hpp:28, from /tmp/chat/swift/work/.buildlink/include/boost/optional.hpp:15, from ./Swift/Controllers/ContactEditController.h:11, from Swift/Controllers/ContactEditController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast [-Wold-style-cast] , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept/assert.hpp:35:0, from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/range/as_literal.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/trim.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:19, from Swift/Controllers/ContactEditController.cpp:9: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->constraints(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:31:0, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/range/as_literal.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/trim.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:19, from Swift/Controllers/ContactEditController.cpp:9: /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements::~usage_requirements()': /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast [-Wold-style-cast] ~usage_requirements() { ((Model*)0)->~Model(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/arg.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/filesystem/path.hpp:29, from ./Swiften/Base/ByteArray.h:13, from ./Swiften/Elements/VCard.h:15, from ./Swift/Controllers/ContactEditController.h:15, from Swift/Controllers/ContactEditController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp:147:7: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((boost::is_integral)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast [-Wold-style-cast] >::************)) 0 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp:148:7: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' BOOST_MPL_ASSERT_RELATION(std::numeric_limits::is_signed, ==, true); ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:188:13: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_integral)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast [-Wold-style-cast] >::************)) 0 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' BOOST_MPL_ASSERT_RELATION(std::numeric_limits::is_signed, ==, true); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/core/addressof.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/optional/optional.hpp:28, from /tmp/chat/swift/work/.buildlink/include/boost/optional.hpp:15, from ./Swift/Controllers/ContactEditController.h:11, from Swift/Controllers/ContactEditController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp:136:63: warning: use of old-style cast [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:15:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/ContactEditController.cpp:9: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable0::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:22:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/ContactEditController.cpp:9: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable1::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:29:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/ContactEditController.cpp:9: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable2::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:36:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:29, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/ContactEditController.cpp:9: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable3::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:43:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:34, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/ContactEditController.cpp:9: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable4::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:50:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:39, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/ContactEditController.cpp:9: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable5::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:57:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:44, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/ContactEditController.cpp:9: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable6::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:64:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:49, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/ContactEditController.cpp:9: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable7::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:71:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:54, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/ContactEditController.cpp:9: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable8::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:78:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:59, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/ContactEditController.cpp:9: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable9::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:85:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:64, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/ContactEditController.cpp:9: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable10::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from Swift/Controllers/ContactEditController.cpp:10:0: /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp:41:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. ) ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/allocate_shared_array.hpp:11:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/make_shared_array.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/make_shared.hpp:17, from Swift/Controllers/ContactEditController.cpp:11: /tmp/chat/swift/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /tmp/chat/swift/work/.buildlink/include/boost/core/allocator_access.hpp:414:18: warning: use of old-style cast [-Wold-style-cast] ::new((void*)p) T(std::forward(args)...); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/core/alloc_construct.hpp:11:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/allocate_shared_array.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/make_shared_array.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/make_shared.hpp:17, from Swift/Controllers/ContactEditController.cpp:11: /tmp/chat/swift/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor::construct(U*)': /tmp/chat/swift/work/.buildlink/include/boost/core/noinit_adaptor.hpp:46:22: warning: use of old-style cast [-Wold-style-cast] ::new((void*)p) U; ^ CXX Swift/Controllers/ContactProvider.o In file included from /tmp/chat/swift/work/.buildlink/include/boost/throw_exception.hpp:26:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/weak_ptr.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/enable_shared_from_this.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/enable_shared_from_this.hpp:16, from ./Swift/Controllers/Contact.h:15, from ./Swift/Controllers/ContactProvider.h:17, from Swift/Controllers/ContactProvider.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major___WORKAROUND_GUARD" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:261:10: note: in definition of macro 'BOOST_WORKAROUND' ((symbol ## _WORKAROUND_GUARD + 0 == 0) && \ ^~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major__" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:262:9: note: in definition of macro 'BOOST_WORKAROUND' (symbol != 0) && (1 % (( (symbol test) ) + 1))) ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/arg.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/filesystem/path.hpp:29, from ./Swift/Controllers/Contact.h:16, from ./Swift/Controllers/ContactProvider.h:17, from Swift/Controllers/ContactProvider.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:27:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:45:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:63:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:81:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:99:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:117:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:142:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT(( ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:148:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_category)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:149:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:150:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:152:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:161:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ CXX Swift/Controllers/ContactSuggester.o In file included from /tmp/chat/swift/work/.buildlink/include/boost/throw_exception.hpp:26:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/weak_ptr.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/enable_shared_from_this.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/enable_shared_from_this.hpp:16, from ./Swift/Controllers/Contact.h:15, from ./Swift/Controllers/ContactSuggester.h:18, from Swift/Controllers/ContactSuggester.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major___WORKAROUND_GUARD" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:261:10: note: in definition of macro 'BOOST_WORKAROUND' ((symbol ## _WORKAROUND_GUARD + 0 == 0) && \ ^~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major__" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:262:9: note: in definition of macro 'BOOST_WORKAROUND' (symbol != 0) && (1 % (( (symbol test) ) + 1))) ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/arg.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/filesystem/path.hpp:29, from ./Swift/Controllers/Contact.h:16, from ./Swift/Controllers/ContactSuggester.h:18, from Swift/Controllers/ContactSuggester.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:27:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:45:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:63:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:81:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:99:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:117:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:142:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT(( ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:148:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_category)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:149:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:150:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:152:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:161:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/bad_weak_ptr.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/weak_ptr.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/enable_shared_from_this.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/enable_shared_from_this.hpp:16, from ./Swift/Controllers/Contact.h:15, from ./Swift/Controllers/ContactSuggester.h:18, from Swift/Controllers/ContactSuggester.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast [-Wold-style-cast] , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept/assert.hpp:35:0, from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/range/as_literal.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/trim.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:19, from Swift/Controllers/ContactSuggester.cpp:15: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->constraints(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:31:0, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/range/as_literal.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/trim.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:19, from Swift/Controllers/ContactSuggester.cpp:15: /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements::~usage_requirements()': /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast [-Wold-style-cast] ~usage_requirements() { ((Model*)0)->~Model(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/arg.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/filesystem/path.hpp:29, from ./Swift/Controllers/Contact.h:16, from ./Swift/Controllers/ContactSuggester.h:18, from Swift/Controllers/ContactSuggester.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp:147:7: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((boost::is_integral)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast [-Wold-style-cast] >::************)) 0 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp:148:7: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' BOOST_MPL_ASSERT_RELATION(std::numeric_limits::is_signed, ==, true); ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:188:13: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_integral)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast [-Wold-style-cast] >::************)) 0 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' BOOST_MPL_ASSERT_RELATION(std::numeric_limits::is_signed, ==, true); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/bad_weak_ptr.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/weak_ptr.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/enable_shared_from_this.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/enable_shared_from_this.hpp:16, from ./Swift/Controllers/Contact.h:15, from ./Swift/Controllers/ContactSuggester.h:18, from Swift/Controllers/ContactSuggester.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp:136:63: warning: use of old-style cast [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:15:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/ContactSuggester.cpp:15: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable0::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:22:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/ContactSuggester.cpp:15: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable1::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:29:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/ContactSuggester.cpp:15: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable2::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:36:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:29, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/ContactSuggester.cpp:15: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable3::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:43:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:34, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/ContactSuggester.cpp:15: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable4::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:50:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:39, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/ContactSuggester.cpp:15: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable5::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:57:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:44, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/ContactSuggester.cpp:15: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable6::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:64:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:49, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/ContactSuggester.cpp:15: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable7::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:71:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:54, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/ContactSuggester.cpp:15: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable8::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:78:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:59, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/ContactSuggester.cpp:15: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable9::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:85:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:64, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/ContactSuggester.cpp:15: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable10::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from Swift/Controllers/ContactSuggester.cpp:17:0: /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp:41:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. ) ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/lambda/lambda.hpp:23:0, from Swift/Controllers/ContactSuggester.cpp:18: /tmp/chat/swift/work/.buildlink/include/boost/lambda/detail/operator_return_type_traits.hpp:500:15: warning: use of old-style cast [-Wold-style-cast] ((int)promote_code_A_value > (int)promote_code_B_value), ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/lambda/detail/operator_return_type_traits.hpp:500:43: warning: use of old-style cast [-Wold-style-cast] ((int)promote_code_A_value > (int)promote_code_B_value), ^~~~~~~~~~~~~~~~~~~~ CXX Swift/Controllers/ContactsFromXMPPRoster.o In file included from /tmp/chat/swift/work/.buildlink/include/boost/throw_exception.hpp:26:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/weak_ptr.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/enable_shared_from_this.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/enable_shared_from_this.hpp:16, from ./Swift/Controllers/Contact.h:15, from ./Swift/Controllers/ContactProvider.h:17, from ./Swift/Controllers/ContactsFromXMPPRoster.h:15, from Swift/Controllers/ContactsFromXMPPRoster.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major___WORKAROUND_GUARD" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:261:10: note: in definition of macro 'BOOST_WORKAROUND' ((symbol ## _WORKAROUND_GUARD + 0 == 0) && \ ^~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major__" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:262:9: note: in definition of macro 'BOOST_WORKAROUND' (symbol != 0) && (1 % (( (symbol test) ) + 1))) ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/arg.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/filesystem/path.hpp:29, from ./Swift/Controllers/Contact.h:16, from ./Swift/Controllers/ContactProvider.h:17, from ./Swift/Controllers/ContactsFromXMPPRoster.h:15, from Swift/Controllers/ContactsFromXMPPRoster.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:27:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:45:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:63:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:81:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:99:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:117:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:142:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT(( ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:148:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_category)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:149:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:150:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:152:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:161:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ CXX Swift/Controllers/EventNotifier.o In file included from /tmp/chat/swift/work/.buildlink/include/boost/throw_exception.hpp:26:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/shared_ptr.hpp:17, from ./Swift/Controllers/EventNotifier.h:9, from Swift/Controllers/EventNotifier.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major___WORKAROUND_GUARD" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:261:10: note: in definition of macro 'BOOST_WORKAROUND' ((symbol ## _WORKAROUND_GUARD + 0 == 0) && \ ^~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major__" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:262:9: note: in definition of macro 'BOOST_WORKAROUND' (symbol != 0) && (1 % (( (symbol test) ) + 1))) ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:15:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from ./SwifTools/Notifier/Notifier.h:9, from ./Swift/Controllers/EventNotifier.h:11, from Swift/Controllers/EventNotifier.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable0::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:22:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from ./SwifTools/Notifier/Notifier.h:9, from ./Swift/Controllers/EventNotifier.h:11, from Swift/Controllers/EventNotifier.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable1::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:29:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from ./SwifTools/Notifier/Notifier.h:9, from ./Swift/Controllers/EventNotifier.h:11, from Swift/Controllers/EventNotifier.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable2::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:36:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:29, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from ./SwifTools/Notifier/Notifier.h:9, from ./Swift/Controllers/EventNotifier.h:11, from Swift/Controllers/EventNotifier.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable3::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:43:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:34, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from ./SwifTools/Notifier/Notifier.h:9, from ./Swift/Controllers/EventNotifier.h:11, from Swift/Controllers/EventNotifier.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable4::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:50:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:39, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from ./SwifTools/Notifier/Notifier.h:9, from ./Swift/Controllers/EventNotifier.h:11, from Swift/Controllers/EventNotifier.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable5::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:57:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:44, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from ./SwifTools/Notifier/Notifier.h:9, from ./Swift/Controllers/EventNotifier.h:11, from Swift/Controllers/EventNotifier.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable6::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:64:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:49, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from ./SwifTools/Notifier/Notifier.h:9, from ./Swift/Controllers/EventNotifier.h:11, from Swift/Controllers/EventNotifier.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable7::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:71:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:54, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from ./SwifTools/Notifier/Notifier.h:9, from ./Swift/Controllers/EventNotifier.h:11, from Swift/Controllers/EventNotifier.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable8::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:78:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:59, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from ./SwifTools/Notifier/Notifier.h:9, from ./Swift/Controllers/EventNotifier.h:11, from Swift/Controllers/EventNotifier.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable9::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:85:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:64, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from ./SwifTools/Notifier/Notifier.h:9, from ./Swift/Controllers/EventNotifier.h:11, from Swift/Controllers/EventNotifier.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable10::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/arg.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/filesystem/path.hpp:29, from ./SwifTools/Notifier/Notifier.h:10, from ./Swift/Controllers/EventNotifier.h:11, from Swift/Controllers/EventNotifier.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:27:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:45:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:63:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:81:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:99:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:117:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:142:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT(( ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:148:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_category)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:149:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:150:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:152:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:161:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/bad_weak_ptr.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/shared_ptr.hpp:17, from ./Swift/Controllers/EventNotifier.h:9, from Swift/Controllers/EventNotifier.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast [-Wold-style-cast] , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept/assert.hpp:35:0, from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swift/Controllers/XMPPEvents/StanzaEvent.h:10, from ./Swift/Controllers/EventNotifier.h:13, from Swift/Controllers/EventNotifier.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->constraints(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:31:0, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swift/Controllers/XMPPEvents/StanzaEvent.h:10, from ./Swift/Controllers/EventNotifier.h:13, from Swift/Controllers/EventNotifier.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements::~usage_requirements()': /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast [-Wold-style-cast] ~usage_requirements() { ((Model*)0)->~Model(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/arg.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/filesystem/path.hpp:29, from ./SwifTools/Notifier/Notifier.h:10, from ./Swift/Controllers/EventNotifier.h:11, from Swift/Controllers/EventNotifier.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp:147:7: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((boost::is_integral)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast [-Wold-style-cast] >::************)) 0 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp:148:7: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' BOOST_MPL_ASSERT_RELATION(std::numeric_limits::is_signed, ==, true); ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:188:13: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_integral)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast [-Wold-style-cast] >::************)) 0 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' BOOST_MPL_ASSERT_RELATION(std::numeric_limits::is_signed, ==, true); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/bad_weak_ptr.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/shared_ptr.hpp:17, from ./Swift/Controllers/EventNotifier.h:9, from Swift/Controllers/EventNotifier.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp:136:63: warning: use of old-style cast [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ In file included from Swift/Controllers/EventNotifier.cpp:10:0: /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp:41:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. ) ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/assert.hpp:58:0, from /tmp/chat/swift/work/.buildlink/include/boost/format/feed_args.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/format.hpp:49, from ./Swiften/Base/format.h:9, from Swift/Controllers/EventNotifier.cpp:16: /tmp/chat/swift/work/.buildlink/include/boost/format/feed_args.hpp: In function 'void boost::io::detail::put(T, const boost::io::detail::format_item&, typename boost::basic_format::string_type&, typename boost::basic_format::internal_streambuf_t&, boost::io::detail::locale_t*)': /tmp/chat/swift/work/.buildlink/include/boost/format/feed_args.hpp:268:79: warning: use of old-style cast [-Wold-style-cast] BOOST_ASSERT(i+(tmp_size-i)+(std::max)(d,(std::streamsize)0) ^ /tmp/chat/swift/work/.buildlink/include/boost/format/feed_args.hpp:268:21: note: in expansion of macro 'BOOST_ASSERT' BOOST_ASSERT(i+(tmp_size-i)+(std::max)(d,(std::streamsize)0) ^ CXX Swift/Controllers/EventWindowController.o In file included from /tmp/chat/swift/work/.buildlink/include/boost/throw_exception.hpp:26:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/shared_ptr.hpp:17, from ./Swift/Controllers/UIInterfaces/EventWindow.h:9, from ./Swift/Controllers/EventWindowController.h:10, from Swift/Controllers/EventWindowController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major___WORKAROUND_GUARD" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:261:10: note: in definition of macro 'BOOST_WORKAROUND' ((symbol ## _WORKAROUND_GUARD + 0 == 0) && \ ^~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major__" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:262:9: note: in definition of macro 'BOOST_WORKAROUND' (symbol != 0) && (1 % (( (symbol test) ) + 1))) ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/arg.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swift/Controllers/XMPPEvents/StanzaEvent.h:10, from ./Swift/Controllers/UIInterfaces/EventWindow.h:11, from ./Swift/Controllers/EventWindowController.h:10, from Swift/Controllers/EventWindowController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:27:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:45:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:63:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:81:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:99:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:117:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:142:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT(( ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:148:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_category)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:149:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:150:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:152:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:161:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/bad_weak_ptr.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/shared_ptr.hpp:17, from ./Swift/Controllers/UIInterfaces/EventWindow.h:9, from ./Swift/Controllers/EventWindowController.h:10, from Swift/Controllers/EventWindowController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast [-Wold-style-cast] , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept/assert.hpp:35:0, from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swift/Controllers/XMPPEvents/StanzaEvent.h:10, from ./Swift/Controllers/UIInterfaces/EventWindow.h:11, from ./Swift/Controllers/EventWindowController.h:10, from Swift/Controllers/EventWindowController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->constraints(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:31:0, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swift/Controllers/XMPPEvents/StanzaEvent.h:10, from ./Swift/Controllers/UIInterfaces/EventWindow.h:11, from ./Swift/Controllers/EventWindowController.h:10, from Swift/Controllers/EventWindowController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements::~usage_requirements()': /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast [-Wold-style-cast] ~usage_requirements() { ((Model*)0)->~Model(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/arg.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swift/Controllers/XMPPEvents/StanzaEvent.h:10, from ./Swift/Controllers/UIInterfaces/EventWindow.h:11, from ./Swift/Controllers/EventWindowController.h:10, from Swift/Controllers/EventWindowController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp:147:7: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((boost::is_integral)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast [-Wold-style-cast] >::************)) 0 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp:148:7: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' BOOST_MPL_ASSERT_RELATION(std::numeric_limits::is_signed, ==, true); ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:188:13: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_integral)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast [-Wold-style-cast] >::************)) 0 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' BOOST_MPL_ASSERT_RELATION(std::numeric_limits::is_signed, ==, true); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/bad_weak_ptr.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/shared_ptr.hpp:17, from ./Swift/Controllers/UIInterfaces/EventWindow.h:9, from ./Swift/Controllers/EventWindowController.h:10, from Swift/Controllers/EventWindowController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp:136:63: warning: use of old-style cast [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ In file included from Swift/Controllers/EventWindowController.cpp:11:0: /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp:41:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. ) ^ CXX Swift/Controllers/FileTransfer/FileTransferController.o In file included from /tmp/chat/swift/work/.buildlink/include/boost/throw_exception.hpp:26:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/shared_ptr.hpp:17, from ./Swift/Controllers/FileTransfer/FileTransferController.h:18, from Swift/Controllers/FileTransfer/FileTransferController.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major___WORKAROUND_GUARD" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:261:10: note: in definition of macro 'BOOST_WORKAROUND' ((symbol ## _WORKAROUND_GUARD + 0 == 0) && \ ^~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major__" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:262:9: note: in definition of macro 'BOOST_WORKAROUND' (symbol != 0) && (1 % (( (symbol test) ) + 1))) ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/arg.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/filesystem/path.hpp:29, from /tmp/chat/swift/work/.buildlink/include/boost/filesystem/fstream.hpp:21, from ./Swiften/FileTransfer/FileReadBytestream.h:9, from ./Swift/Controllers/FileTransfer/FileTransferController.h:20, from Swift/Controllers/FileTransfer/FileTransferController.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:27:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:45:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:63:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:81:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:99:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:117:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:142:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT(( ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:148:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_category)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:149:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:150:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:152:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:161:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ In file included from Swift/Controllers/FileTransfer/FileTransferController.cpp:15:0: /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp:41:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. ) ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/cstdint.hpp:36, from ./Swift/Controllers/FileTransfer/FileTransferController.h:17, from Swift/Controllers/FileTransfer/FileTransferController.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast [-Wold-style-cast] , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept/assert.hpp:35:0, from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swiften/FileTransfer/FileTransferManager.h:17, from Swift/Controllers/FileTransfer/FileTransferController.cpp:22: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->constraints(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:31:0, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swiften/FileTransfer/FileTransferManager.h:17, from Swift/Controllers/FileTransfer/FileTransferController.cpp:22: /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements::~usage_requirements()': /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast [-Wold-style-cast] ~usage_requirements() { ((Model*)0)->~Model(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/arg.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/filesystem/path.hpp:29, from /tmp/chat/swift/work/.buildlink/include/boost/filesystem/fstream.hpp:21, from ./Swiften/FileTransfer/FileReadBytestream.h:9, from ./Swift/Controllers/FileTransfer/FileTransferController.h:20, from Swift/Controllers/FileTransfer/FileTransferController.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp:147:7: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((boost::is_integral)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast [-Wold-style-cast] >::************)) 0 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp:148:7: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' BOOST_MPL_ASSERT_RELATION(std::numeric_limits::is_signed, ==, true); ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:188:13: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_integral)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast [-Wold-style-cast] >::************)) 0 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' BOOST_MPL_ASSERT_RELATION(std::numeric_limits::is_signed, ==, true); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/cstdint.hpp:36, from ./Swift/Controllers/FileTransfer/FileTransferController.h:17, from Swift/Controllers/FileTransfer/FileTransferController.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp:136:63: warning: use of old-style cast [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/system/error_category.hpp:11:0, from /tmp/chat/swift/work/.buildlink/include/boost/system/error_code.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/filesystem/path_traits.hpp:22, from /tmp/chat/swift/work/.buildlink/include/boost/filesystem/path.hpp:26, from /tmp/chat/swift/work/.buildlink/include/boost/filesystem/fstream.hpp:21, from ./Swiften/FileTransfer/FileReadBytestream.h:9, from ./Swift/Controllers/FileTransfer/FileTransferController.h:20, from Swift/Controllers/FileTransfer/FileTransferController.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/system/detail/error_category_impl.hpp:43:21: warning: 'virtual const char* boost::system::error_category::message(int, char*, std::size_t) const' was hidden [-Woverloaded-virtual] inline char const * error_category::message( int ev, char * buffer, std::size_t len ) const BOOST_NOEXCEPT ^~~~~~~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/asio/error.hpp:358:0, from /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/impl/posix_tss_ptr.ipp:24, from /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/posix_tss_ptr.hpp:76, from /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/tss_ptr.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/call_stack.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/thread_context.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/recycling_allocator.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/handler_alloc_helpers.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/executor_function.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/asio/execution/any_executor.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/asio/execution.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/asio/any_io_executor.hpp:22, from /tmp/chat/swift/work/.buildlink/include/boost/asio/basic_socket_acceptor.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/asio/ip/tcp.hpp:19, from ./Swiften/Network/HostAddressPort.h:9, from ./Swiften/Elements/JingleS5BTransportPayload.h:16, from ./Swiften/FileTransfer/JingleFileTransfer.h:16, from ./Swiften/FileTransfer/OutgoingJingleFileTransfer.h:22, from Swift/Controllers/FileTransfer/FileTransferController.cpp:23: /tmp/chat/swift/work/.buildlink/include/boost/asio/impl/error.ipp:40:15: warning: by 'virtual std::__cxx11::string boost::asio::error::detail::netdb_category::message(int) const' [-Woverloaded-virtual] std::string message(int value) const ^~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/system/error_category.hpp:11:0, from /tmp/chat/swift/work/.buildlink/include/boost/system/error_code.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/filesystem/path_traits.hpp:22, from /tmp/chat/swift/work/.buildlink/include/boost/filesystem/path.hpp:26, from /tmp/chat/swift/work/.buildlink/include/boost/filesystem/fstream.hpp:21, from ./Swiften/FileTransfer/FileReadBytestream.h:9, from ./Swift/Controllers/FileTransfer/FileTransferController.h:20, from Swift/Controllers/FileTransfer/FileTransferController.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/system/detail/error_category_impl.hpp:43:21: warning: 'virtual const char* boost::system::error_category::message(int, char*, std::size_t) const' was hidden [-Woverloaded-virtual] inline char const * error_category::message( int ev, char * buffer, std::size_t len ) const BOOST_NOEXCEPT ^~~~~~~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/asio/error.hpp:358:0, from /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/impl/posix_tss_ptr.ipp:24, from /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/posix_tss_ptr.hpp:76, from /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/tss_ptr.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/call_stack.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/thread_context.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/recycling_allocator.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/handler_alloc_helpers.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/executor_function.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/asio/execution/any_executor.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/asio/execution.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/asio/any_io_executor.hpp:22, from /tmp/chat/swift/work/.buildlink/include/boost/asio/basic_socket_acceptor.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/asio/ip/tcp.hpp:19, from ./Swiften/Network/HostAddressPort.h:9, from ./Swiften/Elements/JingleS5BTransportPayload.h:16, from ./Swiften/FileTransfer/JingleFileTransfer.h:16, from ./Swiften/FileTransfer/OutgoingJingleFileTransfer.h:22, from Swift/Controllers/FileTransfer/FileTransferController.cpp:23: /tmp/chat/swift/work/.buildlink/include/boost/asio/impl/error.ipp:72:15: warning: by 'virtual std::__cxx11::string boost::asio::error::detail::addrinfo_category::message(int) const' [-Woverloaded-virtual] std::string message(int value) const ^~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/system/error_category.hpp:11:0, from /tmp/chat/swift/work/.buildlink/include/boost/system/error_code.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/filesystem/path_traits.hpp:22, from /tmp/chat/swift/work/.buildlink/include/boost/filesystem/path.hpp:26, from /tmp/chat/swift/work/.buildlink/include/boost/filesystem/fstream.hpp:21, from ./Swiften/FileTransfer/FileReadBytestream.h:9, from ./Swift/Controllers/FileTransfer/FileTransferController.h:20, from Swift/Controllers/FileTransfer/FileTransferController.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/system/detail/error_category_impl.hpp:43:21: warning: 'virtual const char* boost::system::error_category::message(int, char*, std::size_t) const' was hidden [-Woverloaded-virtual] inline char const * error_category::message( int ev, char * buffer, std::size_t len ) const BOOST_NOEXCEPT ^~~~~~~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/asio/error.hpp:358:0, from /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/impl/posix_tss_ptr.ipp:24, from /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/posix_tss_ptr.hpp:76, from /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/tss_ptr.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/call_stack.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/thread_context.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/recycling_allocator.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/handler_alloc_helpers.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/executor_function.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/asio/execution/any_executor.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/asio/execution.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/asio/any_io_executor.hpp:22, from /tmp/chat/swift/work/.buildlink/include/boost/asio/basic_socket_acceptor.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/asio/ip/tcp.hpp:19, from ./Swiften/Network/HostAddressPort.h:9, from ./Swiften/Elements/JingleS5BTransportPayload.h:16, from ./Swiften/FileTransfer/JingleFileTransfer.h:16, from ./Swiften/FileTransfer/OutgoingJingleFileTransfer.h:22, from Swift/Controllers/FileTransfer/FileTransferController.cpp:23: /tmp/chat/swift/work/.buildlink/include/boost/asio/impl/error.ipp:102:15: warning: by 'virtual std::__cxx11::string boost::asio::error::detail::misc_category::message(int) const' [-Woverloaded-virtual] std::string message(int value) const ^~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/socket_ops.hpp:382:0, from /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/socket_holder.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/reactive_socket_accept_op.hpp:26, from /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/reactive_socket_service.hpp:30, from /tmp/chat/swift/work/.buildlink/include/boost/asio/basic_socket.hpp:36, from /tmp/chat/swift/work/.buildlink/include/boost/asio/basic_socket_acceptor.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/asio/ip/tcp.hpp:19, from ./Swiften/Network/HostAddressPort.h:9, from ./Swiften/Elements/JingleS5BTransportPayload.h:16, from ./Swiften/FileTransfer/JingleFileTransfer.h:16, from ./Swiften/FileTransfer/OutgoingJingleFileTransfer.h:22, from Swift/Controllers/FileTransfer/FileTransferController.cpp:23: /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp: In function 'boost::asio::detail::socket_type boost::asio::detail::socket_ops::call_accept(SockLenType msghdr::*, boost::asio::detail::socket_type, boost::asio::detail::socket_addr_type*, std::size_t*)': /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:100:53: warning: use of old-style cast [-Wold-style-cast] SockLenType tmp_addrlen = addrlen ? (SockLenType)*addrlen : 0; ^~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:103:29: warning: use of old-style cast [-Wold-style-cast] *addrlen = (std::size_t)tmp_addrlen; ^~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp: In function 'int boost::asio::detail::socket_ops::call_bind(SockLenType msghdr::*, boost::asio::detail::socket_type, const socket_addr_type*, std::size_t)': /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:278:39: warning: use of old-style cast [-Wold-style-cast] return ::bind(s, addr, (SockLenType)addrlen); ^~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp: In function 'int boost::asio::detail::socket_ops::call_connect(SockLenType msghdr::*, boost::asio::detail::socket_type, const socket_addr_type*, std::size_t)': /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:469:42: warning: use of old-style cast [-Wold-style-cast] return ::connect(s, addr, (SockLenType)addrlen); ^~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp: In function 'boost::asio::detail::signed_size_type boost::asio::detail::socket_ops::call_recvfrom(SockLenType msghdr::*, boost::asio::detail::socket_type, void*, size_t, int, boost::asio::detail::socket_addr_type*, std::size_t*)': /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:1053:53: warning: use of old-style cast [-Wold-style-cast] SockLenType tmp_addrlen = addrlen ? (SockLenType)*addrlen : 0; ^~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:1057:29: warning: use of old-style cast [-Wold-style-cast] *addrlen = (std::size_t)tmp_addrlen; ^~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp: In function 'boost::asio::detail::signed_size_type boost::asio::detail::socket_ops::call_sendto(SockLenType msghdr::*, boost::asio::detail::socket_type, const void*, size_t, int, const socket_addr_type*, std::size_t)': /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:1635:39: warning: use of old-style cast [-Wold-style-cast] size, flags, addr, (SockLenType)addrlen); ^~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp: In function 'int boost::asio::detail::socket_ops::call_setsockopt(SockLenType msghdr::*, boost::asio::detail::socket_type, int, int, const void*, std::size_t)': /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:1856:20: warning: use of old-style cast [-Wold-style-cast] (const char*)optval, (SockLenType)optlen); ^~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:1856:41: warning: use of old-style cast [-Wold-style-cast] (const char*)optval, (SockLenType)optlen); ^~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp: In function 'int boost::asio::detail::socket_ops::call_getsockopt(SockLenType msghdr::*, boost::asio::detail::socket_type, int, int, void*, std::size_t*)': /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:1941:42: warning: use of old-style cast [-Wold-style-cast] SockLenType tmp_optlen = (SockLenType)*optlen; ^~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:1942:55: warning: use of old-style cast [-Wold-style-cast] int result = ::getsockopt(s, level, optname, (char*)optval, &tmp_optlen); ^~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:1943:26: warning: use of old-style cast [-Wold-style-cast] *optlen = (std::size_t)tmp_optlen; ^~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp: In function 'int boost::asio::detail::socket_ops::call_getpeername(SockLenType msghdr::*, boost::asio::detail::socket_type, boost::asio::detail::socket_addr_type*, std::size_t*)': /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:2046:43: warning: use of old-style cast [-Wold-style-cast] SockLenType tmp_addrlen = (SockLenType)*addrlen; ^~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:2048:27: warning: use of old-style cast [-Wold-style-cast] *addrlen = (std::size_t)tmp_addrlen; ^~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp: In function 'int boost::asio::detail::socket_ops::call_getsockname(SockLenType msghdr::*, boost::asio::detail::socket_type, boost::asio::detail::socket_addr_type*, std::size_t*)': /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:2098:43: warning: use of old-style cast [-Wold-style-cast] SockLenType tmp_addrlen = (SockLenType)*addrlen; ^~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:2100:27: warning: use of old-style cast [-Wold-style-cast] *addrlen = (std::size_t)tmp_addrlen; ^~~~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits.hpp:35:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/regex_traits.hpp:28, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:39, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from Swift/Controllers/FileTransfer/FileTransferController.cpp:26: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'boost::regex_constants::syntax_type boost::re_detail_500::get_default_syntax_type(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:366:38: warning: use of old-style cast [-Wold-style-cast] return char_syntax[(unsigned char)c]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'boost::regex_constants::escape_syntax_type boost::re_detail_500::get_default_escape_syntax_type(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:561:38: warning: use of old-style cast [-Wold-style-cast] return char_syntax[(unsigned char)c]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'std::ptrdiff_t boost::re_detail_500::global_length(const charT*) [with charT = wchar_t; std::ptrdiff_t = long int]': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:854:42: warning: use of old-style cast [-Wold-style-cast] return (std::ptrdiff_t)(std::wcslen)(p); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'char boost::re_detail_500::do_global_lower(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:870:59: warning: use of old-style cast [-Wold-style-cast] return static_cast((std::tolower)((unsigned char)c)); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'char boost::re_detail_500::do_global_upper(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:875:59: warning: use of old-style cast [-Wold-style-cast] return static_cast((std::toupper)((unsigned char)c)); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits.hpp:39:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/regex_traits.hpp:28, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:39, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from Swift/Controllers/FileTransfer/FileTransferController.cpp:26: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_char_layer::init()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:289:15: warning: use of old-style cast [-Wold-style-cast] if((int)cat < 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:299:12: warning: use of old-style cast [-Wold-style-cast] if((int)cat >= 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_implementation::init()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:717:15: warning: use of old-style cast [-Wold-style-cast] if((int)cat < 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:727:12: warning: use of old-style cast [-Wold-style-cast] if((int)cat >= 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'int boost::cpp_regex_traits::value(charT, int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:1034:40: warning: use of old-style cast [-Wold-style-cast] return (int)toi(pc, pc + 1, radix); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_char_layer::init()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:1151:19: warning: use of old-style cast [-Wold-style-cast] if ((int)cat < 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:1161:16: warning: use of old-style cast [-Wold-style-cast] if ((int)cat >= 0) ^~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:22:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:67, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from Swift/Controllers/FileTransfer/FileTransferController.cpp:26: /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:109:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 4); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:119:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 8); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:128:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 10); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:137:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 16); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_value(T)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:221:53: warning: use of old-style cast [-Wold-style-cast] return (std::size_t)(v > 0 ? -1 : -2); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:223:40: warning: use of old-style cast [-Wold-style-cast] return (std::size_t)(-3); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:67, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from Swift/Controllers/FileTransfer/FileTransferController.cpp:26: /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp: In function 'std::size_t boost::hash_detail::hash_value_signed(T)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:283:54: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) (positive >> i) + (seed<<6) + (seed>>2); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:285:36: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) val + (seed<<6) + (seed>>2); ^~~ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp: In function 'std::size_t boost::hash_detail::hash_value_unsigned(T)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:303:49: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) (val >> i) + (seed<<6) + (seed>>2); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:305:36: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) val + (seed<<6) + (seed>>2); ^~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:73:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from Swift/Controllers/FileTransfer/FileTransferController.cpp:26: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'void boost::re_detail_500::basic_regex_parser::parse(const charT*, const charT*, unsigned int)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:200:52: warning: use of old-style cast [-Wold-style-cast] this->m_pdata->m_mark_count = 1u + (std::size_t)m_mark_count; ^~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_repeat_range(bool)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:1222:55: warning: use of old-style cast [-Wold-style-cast] max = ((v >= 0) && (v < umax())) ? (std::size_t)v : (std::numeric_limits::max)(); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'charT boost::re_detail_500::basic_regex_parser::unescape_character()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:1835:121: warning: use of old-style cast [-Wold-style-cast] || ((std::numeric_limits::is_specialized) && (i > (boost::intmax_t)(std::numeric_limits::max)())) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:1880:81: warning: use of old-style cast [-Wold-style-cast] if((val < 0) || (val > (boost::intmax_t)(std::numeric_limits::max)())) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_perl_extension()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:2661:59: warning: use of old-style cast [-Wold-style-cast] else if(((std::ptrdiff_t)this->m_pdata->m_data.size() > (static_cast(b)->alt.i + this->getoffset(b))) && (static_cast(b)->alt.i > 0) && this->getaddress(static_cast(b)->alt.i, b)->type == syntax_element_alt) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:2726:48: warning: use of old-style cast [-Wold-style-cast] this->m_pdata->m_subs.at((std::size_t)markid - 1).second = std::distance(m_base, m_position) - 1; ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:76:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from Swift/Controllers/FileTransfer/FileTransferController.cpp:26: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp: In member function 'boost::sub_match::difference_type boost::sub_match::length() const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:68:98: warning: use of old-style cast [-Wold-style-cast] difference_type n = matched ? ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second) : 0; ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:68:125: warning: use of old-style cast [-Wold-style-cast] difference_type n = matched ? ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second) : 0; ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:76:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from Swift/Controllers/FileTransfer/FileTransferController.cpp:26: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp: In member function 'std::__cxx11::basic_string::value_type> boost::sub_match::str() const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:76:89: warning: use of old-style cast [-Wold-style-cast] std::size_t len = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second); ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:76:116: warning: use of old-style cast [-Wold-style-cast] std::size_t len = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second); ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:79:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from Swift/Controllers/FileTransfer/FileTransferController.cpp:26: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp: In member function 'int boost::re_detail_500::trivial_format_traits::toi(const charT*&, const charT*, int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp:89:50: warning: use of old-style cast [-Wold-style-cast] return (int)global_toi(p1, p2, radix, *this); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp: In member function 'int boost::re_detail_500::basic_regex_formatter::toi(ForwardIter&, ForwardIter, int, const false_&)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp:172:63: warning: use of old-style cast [-Wold-style-cast] int r = (int)m_traits.toi(pos, &v[0] + v.size(), base); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:82:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from Swift/Controllers/FileTransfer/FileTransferController.cpp:26: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'boost::match_results::difference_type boost::match_results::length(int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:134:34: warning: use of old-style cast [-Wold-style-cast] if((sub < (int)m_subs.size()) && (sub > 0)) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'boost::match_results::difference_type boost::match_results::position(boost::match_results::size_type) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:170:82: warning: use of old-style cast [-Wold-style-cast] return ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)(m_base), (BidiIterator)(s.first)); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:170:107: warning: use of old-style cast [-Wold-style-cast] return ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)(m_base), (BidiIterator)(s.first)); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'boost::match_results::string_type boost::match_results::str(int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:199:33: warning: use of old-style cast [-Wold-style-cast] if(sub < (int)m_subs.size() && (sub > 0)) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'const typename std::allocator_traits<_Alloc>::value_type& boost::match_results::operator[](int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:233:33: warning: use of old-style cast [-Wold-style-cast] if(sub < (int)m_subs.size() && (sub >= 0)) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'void boost::match_results::maybe_assign(const boost::match_results&)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:658:73: warning: use of old-style cast [-Wold-style-cast] len1 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p1->first, (BidiIterator)p1->second); ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:658:98: warning: use of old-style cast [-Wold-style-cast] len1 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p1->first, (BidiIterator)p1->second); ^~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:659:73: warning: use of old-style cast [-Wold-style-cast] len2 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p2->first, (BidiIterator)p2->second); ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:659:98: warning: use of old-style cast [-Wold-style-cast] len2 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p2->first, (BidiIterator)p2->second); ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:88:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from Swift/Controllers/FileTransfer/FileTransferController.cpp:26: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp: In function 'bool boost::re_detail_500::can_start(char, const unsigned char*, unsigned char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:69:30: warning: use of old-style cast [-Wold-style-cast] return map[(unsigned char)c] & mask; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp: In function 'bool boost::re_detail_500::can_start(signed char, const unsigned char*, unsigned char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:73:30: warning: use of old-style cast [-Wold-style-cast] return map[(unsigned char)c] & mask; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp: In function 'int boost::re_detail_500::string_compare(const Seq&, const C*)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:144:38: warning: use of old-style cast [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:144:50: warning: use of old-style cast [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:144:62: warning: use of old-style cast [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:640:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:88, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from Swift/Controllers/FileTransfer/FileTransferController.cpp:26: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_alt()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:573:67: warning: use of old-style cast [-Wold-style-cast] take_first = can_start(*position, jmp->_map, (unsigned char)mask_take); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:574:68: warning: use of old-style cast [-Wold-style-cast] take_second = can_start(*position, jmp->_map, (unsigned char)mask_skip); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_rep()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:617:67: warning: use of old-style cast [-Wold-style-cast] take_first = can_start(*position, rep->_map, (unsigned char)mask_take); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:618:68: warning: use of old-style cast [-Wold-style-cast] take_second = can_start(*position, rep->_map, (unsigned char)mask_skip); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_char_repeat()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:820:82: warning: use of old-style cast [-Wold-style-cast] count = (unsigned)::boost::BOOST_REGEX_DETAIL_NS::distance(origin, position); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_set_repeat()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:894:82: warning: use of old-style cast [-Wold-style-cast] count = (unsigned)::boost::BOOST_REGEX_DETAIL_NS::distance(origin, position); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_long_set_repeat()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:969:82: warning: use of old-style cast [-Wold-style-cast] count = (unsigned)::boost::BOOST_REGEX_DETAIL_NS::distance(origin, position); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:28:0, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from Swift/Controllers/FileTransfer/FileTransferController.cpp:26: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'void boost::re_detail_500::perl_matcher::estimate_max_state_count(std::random_access_iterator_tag*)': /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: note: in definition of macro 'BOOST_REGEX_MAX_STATE_COUNT' # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: note: in definition of macro 'BOOST_REGEX_MAX_STATE_COUNT' # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: note: in definition of macro 'BOOST_REGEX_MAX_STATE_COUNT' # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: note: in definition of macro 'BOOST_REGEX_MAX_STATE_COUNT' # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: note: in definition of macro 'BOOST_REGEX_MAX_STATE_COUNT' # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:643:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:88, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from Swift/Controllers/FileTransfer/FileTransferController.cpp:26: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_any()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:846:78: warning: use of old-style cast [-Wold-style-cast] while((position != last) && !can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_word()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:890:52: warning: use of old-style cast [-Wold-style-cast] if(can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_line()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:925:53: warning: use of old-style cast [-Wold-style-cast] if( can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:118:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from Swift/Controllers/FileTransfer/FileTransferController.cpp:26: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp: In member function 'bool boost::regex_token_iterator_implementation::init(BidirectionalIterator)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp:110:70: warning: use of old-style cast [-Wold-style-cast] result = ((subs[N] == -1) ? what.prefix() : what[(int)subs[N]]); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp: In member function 'bool boost::regex_token_iterator_implementation::next()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp:139:31: warning: use of old-style cast [-Wold-style-cast] if(N+1 < (int)subs.size()) ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:130:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from Swift/Controllers/FileTransfer/FileTransferController.cpp:26: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_split.hpp: In function 'std::size_t boost::regex_split(OutputIterator, std::__cxx11::basic_string&, const boost::basic_regex&, boost::regex_constants::match_flag_type, std::size_t)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_split.hpp:126:62: warning: use of old-style cast [-Wold-style-cast] *out = std::basic_string((ci_t)last, (ci_t)s.end()); ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_split.hpp:126:80: warning: use of old-style cast [-Wold-style-cast] *out = std::basic_string((ci_t)last, (ci_t)s.end()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_archive.hpp:244:0, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/basic_oarchive.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_oarchive.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_oarchive.hpp:29, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_oarchive.hpp:31, from ./Swift/Controllers/HighlightRule.h:19, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from Swift/Controllers/FileTransfer/FileTransferController.cpp:26: /tmp/chat/swift/work/.buildlink/include/boost/serialization/level.hpp: In function 'bool boost::serialization::operator>=(boost::serialization::implementation_level, boost::serialization::level_type)': /tmp/chat/swift/work/.buildlink/include/boost/serialization/level.hpp:91:28: warning: use of old-style cast [-Wold-style-cast] return t.value >= (int)l; ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/oserializer.hpp:56:0, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/interface_oarchive.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_oarchive.hpp:22, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_oarchive.hpp:29, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_oarchive.hpp:31, from ./Swift/Controllers/HighlightRule.h:19, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from Swift/Controllers/FileTransfer/FileTransferController.cpp:26: /tmp/chat/swift/work/.buildlink/include/boost/serialization/tracking.hpp: In function 'bool boost::serialization::operator>=(boost::serialization::tracking_level, boost::serialization::tracking_type)': /tmp/chat/swift/work/.buildlink/include/boost/serialization/tracking.hpp:82:28: warning: use of old-style cast [-Wold-style-cast] return t.value >= (int)l; ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/interface_iarchive.hpp:22:0, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_iarchive.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_iarchive.hpp:30, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_iarchive.hpp:24, from ./Swift/Controllers/HighlightRule.h:20, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from Swift/Controllers/FileTransfer/FileTransferController.cpp:26: /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/iserializer.hpp: In static member function 'static void boost::archive::detail::load_pointer_type::invoke(Archive&, Tptr&)': /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/iserializer.hpp:546:24: warning: use of old-style cast [-Wold-style-cast] (void * & )t, ^ CXX Swift/Controllers/FileTransfer/FileTransferOverview.o In file included from Swift/Controllers/FileTransfer/FileTransferOverview.cpp:15:0: /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp:41:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. ) ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/swift-3.0/3rdParty/Boost/src/boost/signal.hpp:25, from ./Swiften/Base/boost_bsignals.h:17, from Swift/Controllers/FileTransfer/FileTransferOverview.h:17, from Swift/Controllers/FileTransfer/FileTransferOverview.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast [-Wold-style-cast] , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept/assert.hpp:35:0, from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swiften/FileTransfer/FileTransferManager.h:17, from Swift/Controllers/FileTransfer/FileTransferOverview.cpp:21: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->constraints(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:31:0, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swiften/FileTransfer/FileTransferManager.h:17, from Swift/Controllers/FileTransfer/FileTransferOverview.cpp:21: /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements::~usage_requirements()': /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast [-Wold-style-cast] ~usage_requirements() { ((Model*)0)->~Model(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/swift-3.0/3rdParty/Boost/src/boost/signal.hpp:25, from ./Swiften/Base/boost_bsignals.h:17, from Swift/Controllers/FileTransfer/FileTransferOverview.h:17, from Swift/Controllers/FileTransfer/FileTransferOverview.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp:136:63: warning: use of old-style cast [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ CXX Swift/Controllers/FileTransfer/FileTransferProgressInfo.o CXX Swift/Controllers/FileTransferListController.o In file included from Swift/Controllers/FileTransferListController.cpp:9:0: /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp:41:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. ) ^ CXX Swift/Controllers/HighlightAction.o In file included from /tmp/chat/swift/work/.buildlink/include/boost/detail/workaround.hpp:8:0, from /tmp/chat/swift/work/.buildlink/include/boost/static_assert.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_iprimitive.hpp:41, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_iarchive.hpp:23, from ./Swift/Controllers/HighlightAction.h:17, from Swift/Controllers/HighlightAction.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major___WORKAROUND_GUARD" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:261:10: note: in definition of macro 'BOOST_WORKAROUND' ((symbol ## _WORKAROUND_GUARD + 0 == 0) && \ ^~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major__" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:262:9: note: in definition of macro 'BOOST_WORKAROUND' (symbol != 0) && (1 % (( (symbol test) ) + 1))) ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_archive.hpp:244:0, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/basic_iarchive.hpp:26, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_iarchive.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_iarchive.hpp:30, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_iarchive.hpp:24, from ./Swift/Controllers/HighlightAction.h:17, from Swift/Controllers/HighlightAction.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/serialization/level.hpp: In function 'bool boost::serialization::operator>=(boost::serialization::implementation_level, boost::serialization::level_type)': /tmp/chat/swift/work/.buildlink/include/boost/serialization/level.hpp:91:28: warning: use of old-style cast [-Wold-style-cast] return t.value >= (int)l; ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/allocate_shared_array.hpp:11:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/make_shared_array.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/make_shared.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/helper_collection.hpp:28, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/basic_iarchive.hpp:28, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_iarchive.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_iarchive.hpp:30, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_iarchive.hpp:24, from ./Swift/Controllers/HighlightAction.h:17, from Swift/Controllers/HighlightAction.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /tmp/chat/swift/work/.buildlink/include/boost/core/allocator_access.hpp:414:18: warning: use of old-style cast [-Wold-style-cast] ::new((void*)p) T(std::forward(args)...); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/core/alloc_construct.hpp:11:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/allocate_shared_array.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/make_shared_array.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/make_shared.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/helper_collection.hpp:28, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/basic_iarchive.hpp:28, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_iarchive.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_iarchive.hpp:30, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_iarchive.hpp:24, from ./Swift/Controllers/HighlightAction.h:17, from Swift/Controllers/HighlightAction.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor::construct(U*)': /tmp/chat/swift/work/.buildlink/include/boost/core/noinit_adaptor.hpp:46:22: warning: use of old-style cast [-Wold-style-cast] ::new((void*)p) U; ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/iserializer.hpp:75:0, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/interface_iarchive.hpp:22, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_iarchive.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_iarchive.hpp:30, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_iarchive.hpp:24, from ./Swift/Controllers/HighlightAction.h:17, from Swift/Controllers/HighlightAction.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/serialization/tracking.hpp: In function 'bool boost::serialization::operator>=(boost::serialization::tracking_level, boost::serialization::tracking_type)': /tmp/chat/swift/work/.buildlink/include/boost/serialization/tracking.hpp:82:28: warning: use of old-style cast [-Wold-style-cast] return t.value >= (int)l; ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/serialization/version.hpp:20:0, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/iserializer.hpp:73, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/interface_iarchive.hpp:22, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_iarchive.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_iarchive.hpp:30, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_iarchive.hpp:24, from ./Swift/Controllers/HighlightAction.h:17, from Swift/Controllers/HighlightAction.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:27:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:45:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:63:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:81:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:99:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:117:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/interface_iarchive.hpp:22:0, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_iarchive.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_iarchive.hpp:30, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_iarchive.hpp:24, from ./Swift/Controllers/HighlightAction.h:17, from Swift/Controllers/HighlightAction.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/iserializer.hpp: In static member function 'static void boost::archive::detail::load_pointer_type::invoke(Archive&, Tptr&)': /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/iserializer.hpp:546:24: warning: use of old-style cast [-Wold-style-cast] (void * & )t, ^ CXX Swift/Controllers/HighlightEditorController.o In file included from Swift/Controllers/HighlightEditorController.cpp:13:0: /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp:41:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. ) ^ CXX Swift/Controllers/HighlightManager.o In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits.hpp:35:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/regex_traits.hpp:28, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:39, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from Swift/Controllers/HighlightManager.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'boost::regex_constants::syntax_type boost::re_detail_500::get_default_syntax_type(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:366:38: warning: use of old-style cast [-Wold-style-cast] return char_syntax[(unsigned char)c]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'boost::regex_constants::escape_syntax_type boost::re_detail_500::get_default_escape_syntax_type(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:561:38: warning: use of old-style cast [-Wold-style-cast] return char_syntax[(unsigned char)c]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'std::ptrdiff_t boost::re_detail_500::global_length(const charT*) [with charT = wchar_t; std::ptrdiff_t = long int]': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:854:42: warning: use of old-style cast [-Wold-style-cast] return (std::ptrdiff_t)(std::wcslen)(p); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'char boost::re_detail_500::do_global_lower(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:870:59: warning: use of old-style cast [-Wold-style-cast] return static_cast((std::tolower)((unsigned char)c)); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'char boost::re_detail_500::do_global_upper(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:875:59: warning: use of old-style cast [-Wold-style-cast] return static_cast((std::toupper)((unsigned char)c)); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits.hpp:39:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/regex_traits.hpp:28, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:39, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from Swift/Controllers/HighlightManager.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_char_layer::init()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:289:15: warning: use of old-style cast [-Wold-style-cast] if((int)cat < 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:299:12: warning: use of old-style cast [-Wold-style-cast] if((int)cat >= 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_implementation::init()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:717:15: warning: use of old-style cast [-Wold-style-cast] if((int)cat < 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:727:12: warning: use of old-style cast [-Wold-style-cast] if((int)cat >= 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'int boost::cpp_regex_traits::value(charT, int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:1034:40: warning: use of old-style cast [-Wold-style-cast] return (int)toi(pc, pc + 1, radix); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_char_layer::init()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:1151:19: warning: use of old-style cast [-Wold-style-cast] if ((int)cat < 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:1161:16: warning: use of old-style cast [-Wold-style-cast] if ((int)cat >= 0) ^~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:22:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:67, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from Swift/Controllers/HighlightManager.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:109:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 4); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:119:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 8); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:128:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 10); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:137:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 16); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_value(T)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:221:53: warning: use of old-style cast [-Wold-style-cast] return (std::size_t)(v > 0 ? -1 : -2); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:223:40: warning: use of old-style cast [-Wold-style-cast] return (std::size_t)(-3); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:67, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from Swift/Controllers/HighlightManager.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp: In function 'std::size_t boost::hash_detail::hash_value_signed(T)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:283:54: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) (positive >> i) + (seed<<6) + (seed>>2); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:285:36: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) val + (seed<<6) + (seed>>2); ^~~ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp: In function 'std::size_t boost::hash_detail::hash_value_unsigned(T)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:303:49: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) (val >> i) + (seed<<6) + (seed>>2); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:305:36: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) val + (seed<<6) + (seed>>2); ^~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:73:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from Swift/Controllers/HighlightManager.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'void boost::re_detail_500::basic_regex_parser::parse(const charT*, const charT*, unsigned int)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:200:52: warning: use of old-style cast [-Wold-style-cast] this->m_pdata->m_mark_count = 1u + (std::size_t)m_mark_count; ^~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_repeat_range(bool)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:1222:55: warning: use of old-style cast [-Wold-style-cast] max = ((v >= 0) && (v < umax())) ? (std::size_t)v : (std::numeric_limits::max)(); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'charT boost::re_detail_500::basic_regex_parser::unescape_character()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:1835:121: warning: use of old-style cast [-Wold-style-cast] || ((std::numeric_limits::is_specialized) && (i > (boost::intmax_t)(std::numeric_limits::max)())) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:1880:81: warning: use of old-style cast [-Wold-style-cast] if((val < 0) || (val > (boost::intmax_t)(std::numeric_limits::max)())) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_perl_extension()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:2661:59: warning: use of old-style cast [-Wold-style-cast] else if(((std::ptrdiff_t)this->m_pdata->m_data.size() > (static_cast(b)->alt.i + this->getoffset(b))) && (static_cast(b)->alt.i > 0) && this->getaddress(static_cast(b)->alt.i, b)->type == syntax_element_alt) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:2726:48: warning: use of old-style cast [-Wold-style-cast] this->m_pdata->m_subs.at((std::size_t)markid - 1).second = std::distance(m_base, m_position) - 1; ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:76:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from Swift/Controllers/HighlightManager.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp: In member function 'boost::sub_match::difference_type boost::sub_match::length() const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:68:98: warning: use of old-style cast [-Wold-style-cast] difference_type n = matched ? ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second) : 0; ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:68:125: warning: use of old-style cast [-Wold-style-cast] difference_type n = matched ? ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second) : 0; ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:76:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from Swift/Controllers/HighlightManager.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp: In member function 'std::__cxx11::basic_string::value_type> boost::sub_match::str() const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:76:89: warning: use of old-style cast [-Wold-style-cast] std::size_t len = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second); ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:76:116: warning: use of old-style cast [-Wold-style-cast] std::size_t len = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second); ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:79:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from Swift/Controllers/HighlightManager.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp: In member function 'int boost::re_detail_500::trivial_format_traits::toi(const charT*&, const charT*, int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp:89:50: warning: use of old-style cast [-Wold-style-cast] return (int)global_toi(p1, p2, radix, *this); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp: In member function 'int boost::re_detail_500::basic_regex_formatter::toi(ForwardIter&, ForwardIter, int, const false_&)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp:172:63: warning: use of old-style cast [-Wold-style-cast] int r = (int)m_traits.toi(pos, &v[0] + v.size(), base); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:82:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from Swift/Controllers/HighlightManager.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'boost::match_results::difference_type boost::match_results::length(int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:134:34: warning: use of old-style cast [-Wold-style-cast] if((sub < (int)m_subs.size()) && (sub > 0)) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'boost::match_results::difference_type boost::match_results::position(boost::match_results::size_type) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:170:82: warning: use of old-style cast [-Wold-style-cast] return ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)(m_base), (BidiIterator)(s.first)); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:170:107: warning: use of old-style cast [-Wold-style-cast] return ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)(m_base), (BidiIterator)(s.first)); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'boost::match_results::string_type boost::match_results::str(int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:199:33: warning: use of old-style cast [-Wold-style-cast] if(sub < (int)m_subs.size() && (sub > 0)) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'const typename std::allocator_traits<_Alloc>::value_type& boost::match_results::operator[](int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:233:33: warning: use of old-style cast [-Wold-style-cast] if(sub < (int)m_subs.size() && (sub >= 0)) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'void boost::match_results::maybe_assign(const boost::match_results&)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:658:73: warning: use of old-style cast [-Wold-style-cast] len1 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p1->first, (BidiIterator)p1->second); ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:658:98: warning: use of old-style cast [-Wold-style-cast] len1 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p1->first, (BidiIterator)p1->second); ^~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:659:73: warning: use of old-style cast [-Wold-style-cast] len2 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p2->first, (BidiIterator)p2->second); ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:659:98: warning: use of old-style cast [-Wold-style-cast] len2 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p2->first, (BidiIterator)p2->second); ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:88:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from Swift/Controllers/HighlightManager.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp: In function 'bool boost::re_detail_500::can_start(char, const unsigned char*, unsigned char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:69:30: warning: use of old-style cast [-Wold-style-cast] return map[(unsigned char)c] & mask; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp: In function 'bool boost::re_detail_500::can_start(signed char, const unsigned char*, unsigned char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:73:30: warning: use of old-style cast [-Wold-style-cast] return map[(unsigned char)c] & mask; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp: In function 'int boost::re_detail_500::string_compare(const Seq&, const C*)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:144:38: warning: use of old-style cast [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:144:50: warning: use of old-style cast [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:144:62: warning: use of old-style cast [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:640:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:88, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from Swift/Controllers/HighlightManager.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_alt()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:573:67: warning: use of old-style cast [-Wold-style-cast] take_first = can_start(*position, jmp->_map, (unsigned char)mask_take); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:574:68: warning: use of old-style cast [-Wold-style-cast] take_second = can_start(*position, jmp->_map, (unsigned char)mask_skip); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_rep()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:617:67: warning: use of old-style cast [-Wold-style-cast] take_first = can_start(*position, rep->_map, (unsigned char)mask_take); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:618:68: warning: use of old-style cast [-Wold-style-cast] take_second = can_start(*position, rep->_map, (unsigned char)mask_skip); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_char_repeat()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:820:82: warning: use of old-style cast [-Wold-style-cast] count = (unsigned)::boost::BOOST_REGEX_DETAIL_NS::distance(origin, position); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_set_repeat()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:894:82: warning: use of old-style cast [-Wold-style-cast] count = (unsigned)::boost::BOOST_REGEX_DETAIL_NS::distance(origin, position); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_long_set_repeat()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:969:82: warning: use of old-style cast [-Wold-style-cast] count = (unsigned)::boost::BOOST_REGEX_DETAIL_NS::distance(origin, position); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:28:0, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from Swift/Controllers/HighlightManager.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'void boost::re_detail_500::perl_matcher::estimate_max_state_count(std::random_access_iterator_tag*)': /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:130:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:136:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:142:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:155:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:161:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:643:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:88, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from Swift/Controllers/HighlightManager.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_any()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:846:78: warning: use of old-style cast [-Wold-style-cast] while((position != last) && !can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_word()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:890:52: warning: use of old-style cast [-Wold-style-cast] if(can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_line()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:925:53: warning: use of old-style cast [-Wold-style-cast] if( can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:118:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from Swift/Controllers/HighlightManager.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp: In member function 'bool boost::regex_token_iterator_implementation::init(BidirectionalIterator)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp:110:70: warning: use of old-style cast [-Wold-style-cast] result = ((subs[N] == -1) ? what.prefix() : what[(int)subs[N]]); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp: In member function 'bool boost::regex_token_iterator_implementation::next()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp:139:31: warning: use of old-style cast [-Wold-style-cast] if(N+1 < (int)subs.size()) ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:130:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from Swift/Controllers/HighlightManager.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_split.hpp: In function 'std::size_t boost::regex_split(OutputIterator, std::__cxx11::basic_string&, const boost::basic_regex&, boost::regex_constants::match_flag_type, std::size_t)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_split.hpp:126:62: warning: use of old-style cast [-Wold-style-cast] *out = std::basic_string((ci_t)last, (ci_t)s.end()); ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_split.hpp:126:80: warning: use of old-style cast [-Wold-style-cast] *out = std::basic_string((ci_t)last, (ci_t)s.end()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_archive.hpp:244:0, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/basic_oarchive.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_oarchive.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_oarchive.hpp:29, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_oarchive.hpp:31, from ./Swift/Controllers/HighlightRule.h:19, from ./Swift/Controllers/HighlightManager.h:19, from Swift/Controllers/HighlightManager.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/serialization/level.hpp: In function 'bool boost::serialization::operator>=(boost::serialization::implementation_level, boost::serialization::level_type)': /tmp/chat/swift/work/.buildlink/include/boost/serialization/level.hpp:91:28: warning: use of old-style cast [-Wold-style-cast] return t.value >= (int)l; ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/oserializer.hpp:56:0, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/interface_oarchive.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_oarchive.hpp:22, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_oarchive.hpp:29, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_oarchive.hpp:31, from ./Swift/Controllers/HighlightRule.h:19, from ./Swift/Controllers/HighlightManager.h:19, from Swift/Controllers/HighlightManager.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/serialization/tracking.hpp: In function 'bool boost::serialization::operator>=(boost::serialization::tracking_level, boost::serialization::tracking_type)': /tmp/chat/swift/work/.buildlink/include/boost/serialization/tracking.hpp:82:28: warning: use of old-style cast [-Wold-style-cast] return t.value >= (int)l; ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/interface_iarchive.hpp:22:0, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_iarchive.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_iarchive.hpp:30, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_iarchive.hpp:24, from ./Swift/Controllers/HighlightRule.h:20, from ./Swift/Controllers/HighlightManager.h:19, from Swift/Controllers/HighlightManager.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/iserializer.hpp: In static member function 'static void boost::archive::detail::load_pointer_type::invoke(Archive&, Tptr&)': /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/iserializer.hpp:546:24: warning: use of old-style cast [-Wold-style-cast] (void * & )t, ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/swift-3.0/3rdParty/Boost/src/boost/signal.hpp:25, from ./Swiften/Base/boost_bsignals.h:17, from ./Swift/Controllers/HighlightManager.h:18, from Swift/Controllers/HighlightManager.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/has_constraints.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast [-Wold-style-cast] , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept/assert.hpp:35:0, from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/range/as_literal.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/trim.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:19, from Swift/Controllers/HighlightManager.cpp:17: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->constraints(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:31:0, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/range/as_literal.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/trim.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:19, from Swift/Controllers/HighlightManager.cpp:17: /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements::~usage_requirements()': /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast [-Wold-style-cast] ~usage_requirements() { ((Model*)0)->~Model(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/swift-3.0/3rdParty/Boost/src/boost/signal.hpp:25, from ./Swiften/Base/boost_bsignals.h:17, from ./Swift/Controllers/HighlightManager.h:18, from Swift/Controllers/HighlightManager.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp:136:63: warning: use of old-style cast [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ In file included from Swift/Controllers/HighlightManager.cpp:20:0: /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp:41:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. ) ^ CXX Swift/Controllers/HighlightRule.o In file included from /tmp/chat/swift/work/.buildlink/include/boost/throw_exception.hpp:26:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_workaround.hpp:41, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:32, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from Swift/Controllers/HighlightRule.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major___WORKAROUND_GUARD" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:261:10: note: in definition of macro 'BOOST_WORKAROUND' ((symbol ## _WORKAROUND_GUARD + 0 == 0) && \ ^~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major__" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:262:9: note: in definition of macro 'BOOST_WORKAROUND' (symbol != 0) && (1 % (( (symbol test) ) + 1))) ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits.hpp:35:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/regex_traits.hpp:28, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:39, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from Swift/Controllers/HighlightRule.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'boost::regex_constants::syntax_type boost::re_detail_500::get_default_syntax_type(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:366:38: warning: use of old-style cast [-Wold-style-cast] return char_syntax[(unsigned char)c]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'boost::regex_constants::escape_syntax_type boost::re_detail_500::get_default_escape_syntax_type(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:561:38: warning: use of old-style cast [-Wold-style-cast] return char_syntax[(unsigned char)c]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'std::ptrdiff_t boost::re_detail_500::global_length(const charT*) [with charT = wchar_t; std::ptrdiff_t = long int]': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:854:42: warning: use of old-style cast [-Wold-style-cast] return (std::ptrdiff_t)(std::wcslen)(p); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'char boost::re_detail_500::do_global_lower(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:870:59: warning: use of old-style cast [-Wold-style-cast] return static_cast((std::tolower)((unsigned char)c)); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'char boost::re_detail_500::do_global_upper(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:875:59: warning: use of old-style cast [-Wold-style-cast] return static_cast((std::toupper)((unsigned char)c)); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits.hpp:39:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/regex_traits.hpp:28, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:39, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from Swift/Controllers/HighlightRule.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_char_layer::init()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:289:15: warning: use of old-style cast [-Wold-style-cast] if((int)cat < 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:299:12: warning: use of old-style cast [-Wold-style-cast] if((int)cat >= 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_implementation::init()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:717:15: warning: use of old-style cast [-Wold-style-cast] if((int)cat < 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:727:12: warning: use of old-style cast [-Wold-style-cast] if((int)cat >= 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'int boost::cpp_regex_traits::value(charT, int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:1034:40: warning: use of old-style cast [-Wold-style-cast] return (int)toi(pc, pc + 1, radix); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_char_layer::init()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:1151:19: warning: use of old-style cast [-Wold-style-cast] if ((int)cat < 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:1161:16: warning: use of old-style cast [-Wold-style-cast] if ((int)cat >= 0) ^~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:22:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:67, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from Swift/Controllers/HighlightRule.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:109:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 4); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:119:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 8); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:128:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 10); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:137:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 16); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_value(T)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:221:53: warning: use of old-style cast [-Wold-style-cast] return (std::size_t)(v > 0 ? -1 : -2); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:223:40: warning: use of old-style cast [-Wold-style-cast] return (std::size_t)(-3); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:67, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from Swift/Controllers/HighlightRule.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp: In function 'std::size_t boost::hash_detail::hash_value_signed(T)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:283:54: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) (positive >> i) + (seed<<6) + (seed>>2); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:285:36: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) val + (seed<<6) + (seed>>2); ^~~ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp: In function 'std::size_t boost::hash_detail::hash_value_unsigned(T)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:303:49: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) (val >> i) + (seed<<6) + (seed>>2); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:305:36: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) val + (seed<<6) + (seed>>2); ^~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:73:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from Swift/Controllers/HighlightRule.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'void boost::re_detail_500::basic_regex_parser::parse(const charT*, const charT*, unsigned int)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:200:52: warning: use of old-style cast [-Wold-style-cast] this->m_pdata->m_mark_count = 1u + (std::size_t)m_mark_count; ^~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_repeat_range(bool)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:1222:55: warning: use of old-style cast [-Wold-style-cast] max = ((v >= 0) && (v < umax())) ? (std::size_t)v : (std::numeric_limits::max)(); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'charT boost::re_detail_500::basic_regex_parser::unescape_character()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:1835:121: warning: use of old-style cast [-Wold-style-cast] || ((std::numeric_limits::is_specialized) && (i > (boost::intmax_t)(std::numeric_limits::max)())) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:1880:81: warning: use of old-style cast [-Wold-style-cast] if((val < 0) || (val > (boost::intmax_t)(std::numeric_limits::max)())) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_perl_extension()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:2661:59: warning: use of old-style cast [-Wold-style-cast] else if(((std::ptrdiff_t)this->m_pdata->m_data.size() > (static_cast(b)->alt.i + this->getoffset(b))) && (static_cast(b)->alt.i > 0) && this->getaddress(static_cast(b)->alt.i, b)->type == syntax_element_alt) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:2726:48: warning: use of old-style cast [-Wold-style-cast] this->m_pdata->m_subs.at((std::size_t)markid - 1).second = std::distance(m_base, m_position) - 1; ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:76:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from Swift/Controllers/HighlightRule.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp: In member function 'boost::sub_match::difference_type boost::sub_match::length() const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:68:98: warning: use of old-style cast [-Wold-style-cast] difference_type n = matched ? ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second) : 0; ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:68:125: warning: use of old-style cast [-Wold-style-cast] difference_type n = matched ? ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second) : 0; ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:76:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from Swift/Controllers/HighlightRule.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp: In member function 'std::__cxx11::basic_string::value_type> boost::sub_match::str() const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:76:89: warning: use of old-style cast [-Wold-style-cast] std::size_t len = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second); ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:76:116: warning: use of old-style cast [-Wold-style-cast] std::size_t len = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second); ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:79:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from Swift/Controllers/HighlightRule.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp: In member function 'int boost::re_detail_500::trivial_format_traits::toi(const charT*&, const charT*, int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp:89:50: warning: use of old-style cast [-Wold-style-cast] return (int)global_toi(p1, p2, radix, *this); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp: In member function 'int boost::re_detail_500::basic_regex_formatter::toi(ForwardIter&, ForwardIter, int, const false_&)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp:172:63: warning: use of old-style cast [-Wold-style-cast] int r = (int)m_traits.toi(pos, &v[0] + v.size(), base); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:82:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from Swift/Controllers/HighlightRule.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'boost::match_results::difference_type boost::match_results::length(int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:134:34: warning: use of old-style cast [-Wold-style-cast] if((sub < (int)m_subs.size()) && (sub > 0)) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'boost::match_results::difference_type boost::match_results::position(boost::match_results::size_type) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:170:82: warning: use of old-style cast [-Wold-style-cast] return ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)(m_base), (BidiIterator)(s.first)); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:170:107: warning: use of old-style cast [-Wold-style-cast] return ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)(m_base), (BidiIterator)(s.first)); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'boost::match_results::string_type boost::match_results::str(int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:199:33: warning: use of old-style cast [-Wold-style-cast] if(sub < (int)m_subs.size() && (sub > 0)) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'const typename std::allocator_traits<_Alloc>::value_type& boost::match_results::operator[](int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:233:33: warning: use of old-style cast [-Wold-style-cast] if(sub < (int)m_subs.size() && (sub >= 0)) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'void boost::match_results::maybe_assign(const boost::match_results&)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:658:73: warning: use of old-style cast [-Wold-style-cast] len1 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p1->first, (BidiIterator)p1->second); ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:658:98: warning: use of old-style cast [-Wold-style-cast] len1 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p1->first, (BidiIterator)p1->second); ^~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:659:73: warning: use of old-style cast [-Wold-style-cast] len2 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p2->first, (BidiIterator)p2->second); ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:659:98: warning: use of old-style cast [-Wold-style-cast] len2 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p2->first, (BidiIterator)p2->second); ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:88:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from Swift/Controllers/HighlightRule.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp: In function 'bool boost::re_detail_500::can_start(char, const unsigned char*, unsigned char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:69:30: warning: use of old-style cast [-Wold-style-cast] return map[(unsigned char)c] & mask; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp: In function 'bool boost::re_detail_500::can_start(signed char, const unsigned char*, unsigned char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:73:30: warning: use of old-style cast [-Wold-style-cast] return map[(unsigned char)c] & mask; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp: In function 'int boost::re_detail_500::string_compare(const Seq&, const C*)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:144:38: warning: use of old-style cast [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:144:50: warning: use of old-style cast [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:144:62: warning: use of old-style cast [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:640:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:88, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from Swift/Controllers/HighlightRule.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_alt()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:573:67: warning: use of old-style cast [-Wold-style-cast] take_first = can_start(*position, jmp->_map, (unsigned char)mask_take); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:574:68: warning: use of old-style cast [-Wold-style-cast] take_second = can_start(*position, jmp->_map, (unsigned char)mask_skip); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_rep()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:617:67: warning: use of old-style cast [-Wold-style-cast] take_first = can_start(*position, rep->_map, (unsigned char)mask_take); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:618:68: warning: use of old-style cast [-Wold-style-cast] take_second = can_start(*position, rep->_map, (unsigned char)mask_skip); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_char_repeat()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:820:82: warning: use of old-style cast [-Wold-style-cast] count = (unsigned)::boost::BOOST_REGEX_DETAIL_NS::distance(origin, position); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_set_repeat()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:894:82: warning: use of old-style cast [-Wold-style-cast] count = (unsigned)::boost::BOOST_REGEX_DETAIL_NS::distance(origin, position); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_long_set_repeat()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:969:82: warning: use of old-style cast [-Wold-style-cast] count = (unsigned)::boost::BOOST_REGEX_DETAIL_NS::distance(origin, position); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:28:0, from ./Swift/Controllers/HighlightRule.h:18, from Swift/Controllers/HighlightRule.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'void boost::re_detail_500::perl_matcher::estimate_max_state_count(std::random_access_iterator_tag*)': /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:130:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:136:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:142:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:155:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:161:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:643:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:88, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from Swift/Controllers/HighlightRule.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_any()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:846:78: warning: use of old-style cast [-Wold-style-cast] while((position != last) && !can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_word()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:890:52: warning: use of old-style cast [-Wold-style-cast] if(can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_line()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:925:53: warning: use of old-style cast [-Wold-style-cast] if( can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:118:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from Swift/Controllers/HighlightRule.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp: In member function 'bool boost::regex_token_iterator_implementation::init(BidirectionalIterator)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp:110:70: warning: use of old-style cast [-Wold-style-cast] result = ((subs[N] == -1) ? what.prefix() : what[(int)subs[N]]); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp: In member function 'bool boost::regex_token_iterator_implementation::next()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp:139:31: warning: use of old-style cast [-Wold-style-cast] if(N+1 < (int)subs.size()) ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:130:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from Swift/Controllers/HighlightRule.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_split.hpp: In function 'std::size_t boost::regex_split(OutputIterator, std::__cxx11::basic_string&, const boost::basic_regex&, boost::regex_constants::match_flag_type, std::size_t)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_split.hpp:126:62: warning: use of old-style cast [-Wold-style-cast] *out = std::basic_string((ci_t)last, (ci_t)s.end()); ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_split.hpp:126:80: warning: use of old-style cast [-Wold-style-cast] *out = std::basic_string((ci_t)last, (ci_t)s.end()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_archive.hpp:244:0, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/basic_oarchive.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_oarchive.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_oarchive.hpp:29, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_oarchive.hpp:31, from ./Swift/Controllers/HighlightRule.h:19, from Swift/Controllers/HighlightRule.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/serialization/level.hpp: In function 'bool boost::serialization::operator>=(boost::serialization::implementation_level, boost::serialization::level_type)': /tmp/chat/swift/work/.buildlink/include/boost/serialization/level.hpp:91:28: warning: use of old-style cast [-Wold-style-cast] return t.value >= (int)l; ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/allocate_shared_array.hpp:11:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/make_shared_array.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/make_shared.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/helper_collection.hpp:28, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/basic_oarchive.hpp:26, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_oarchive.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_oarchive.hpp:29, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_oarchive.hpp:31, from ./Swift/Controllers/HighlightRule.h:19, from Swift/Controllers/HighlightRule.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /tmp/chat/swift/work/.buildlink/include/boost/core/allocator_access.hpp:414:18: warning: use of old-style cast [-Wold-style-cast] ::new((void*)p) T(std::forward(args)...); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/core/alloc_construct.hpp:11:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/allocate_shared_array.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/make_shared_array.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/make_shared.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/helper_collection.hpp:28, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/basic_oarchive.hpp:26, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_oarchive.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_oarchive.hpp:29, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_oarchive.hpp:31, from ./Swift/Controllers/HighlightRule.h:19, from Swift/Controllers/HighlightRule.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor::construct(U*)': /tmp/chat/swift/work/.buildlink/include/boost/core/noinit_adaptor.hpp:46:22: warning: use of old-style cast [-Wold-style-cast] ::new((void*)p) U; ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/oserializer.hpp:56:0, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/interface_oarchive.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_oarchive.hpp:22, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_oarchive.hpp:29, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_oarchive.hpp:31, from ./Swift/Controllers/HighlightRule.h:19, from Swift/Controllers/HighlightRule.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/serialization/tracking.hpp: In function 'bool boost::serialization::operator>=(boost::serialization::tracking_level, boost::serialization::tracking_type)': /tmp/chat/swift/work/.buildlink/include/boost/serialization/tracking.hpp:82:28: warning: use of old-style cast [-Wold-style-cast] return t.value >= (int)l; ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/serialization/version.hpp:20:0, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/oserializer.hpp:54, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/interface_oarchive.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_oarchive.hpp:22, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_oarchive.hpp:29, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_oarchive.hpp:31, from ./Swift/Controllers/HighlightRule.h:19, from Swift/Controllers/HighlightRule.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:27:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:45:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:63:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:81:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:99:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:117:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/interface_iarchive.hpp:22:0, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_iarchive.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_iarchive.hpp:30, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_iarchive.hpp:24, from ./Swift/Controllers/HighlightRule.h:20, from Swift/Controllers/HighlightRule.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/iserializer.hpp: In static member function 'static void boost::archive::detail::load_pointer_type::invoke(Archive&, Tptr&)': /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/iserializer.hpp:546:24: warning: use of old-style cast [-Wold-style-cast] (void * & )t, ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/serialization/version.hpp:20:0, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/oserializer.hpp:54, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/interface_oarchive.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_oarchive.hpp:22, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_oarchive.hpp:29, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_oarchive.hpp:31, from ./Swift/Controllers/HighlightRule.h:19, from Swift/Controllers/HighlightRule.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:142:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT(( ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:148:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_category)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:149:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:150:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:152:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:161:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:76, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:28, from ./Swift/Controllers/HighlightRule.h:18, from Swift/Controllers/HighlightRule.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast [-Wold-style-cast] , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept/assert.hpp:35:0, from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/range/as_literal.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/trim.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:19, from Swift/Controllers/HighlightRule.cpp:17: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->constraints(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:31:0, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/range/as_literal.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/trim.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:19, from Swift/Controllers/HighlightRule.cpp:17: /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements::~usage_requirements()': /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast [-Wold-style-cast] ~usage_requirements() { ((Model*)0)->~Model(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/serialization/version.hpp:20:0, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/oserializer.hpp:54, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/interface_oarchive.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_oarchive.hpp:22, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_oarchive.hpp:29, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_oarchive.hpp:31, from ./Swift/Controllers/HighlightRule.h:19, from Swift/Controllers/HighlightRule.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp:147:7: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((boost::is_integral)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast [-Wold-style-cast] >::************)) 0 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp:148:7: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' BOOST_MPL_ASSERT_RELATION(std::numeric_limits::is_signed, ==, true); ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:188:13: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_integral)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast [-Wold-style-cast] >::************)) 0 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' BOOST_MPL_ASSERT_RELATION(std::numeric_limits::is_signed, ==, true); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:76, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:28, from ./Swift/Controllers/HighlightRule.h:18, from Swift/Controllers/HighlightRule.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp:136:63: warning: use of old-style cast [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:15:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/HighlightRule.cpp:17: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable0::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:22:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/HighlightRule.cpp:17: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable1::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:29:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/HighlightRule.cpp:17: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable2::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:36:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:29, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/HighlightRule.cpp:17: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable3::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:43:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:34, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/HighlightRule.cpp:17: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable4::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:50:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:39, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/HighlightRule.cpp:17: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable5::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:57:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:44, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/HighlightRule.cpp:17: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable6::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:64:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:49, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/HighlightRule.cpp:17: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable7::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:71:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:54, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/HighlightRule.cpp:17: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable8::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:78:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:59, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/HighlightRule.cpp:17: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable9::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/maybe_include.hpp:85:0, from /tmp/chat/swift/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:64, from /tmp/chat/swift/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /tmp/chat/swift/work/.buildlink/include/boost/function.hpp:70, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:23, from Swift/Controllers/HighlightRule.cpp:17: /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable10::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /tmp/chat/swift/work/.buildlink/include/boost/function/function_template.hpp:638:69: warning: use of old-style cast [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/lambda/lambda.hpp:23:0, from Swift/Controllers/HighlightRule.cpp:18: /tmp/chat/swift/work/.buildlink/include/boost/lambda/detail/operator_return_type_traits.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/lambda/detail/operator_return_type_traits.hpp:500:15: warning: use of old-style cast [-Wold-style-cast] ((int)promote_code_A_value > (int)promote_code_B_value), ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/lambda/detail/operator_return_type_traits.hpp:500:43: warning: use of old-style cast [-Wold-style-cast] ((int)promote_code_A_value > (int)promote_code_B_value), ^~~~~~~~~~~~~~~~~~~~ CXX Swift/Controllers/Highlighter.o In file included from /tmp/chat/swift/work/.buildlink/include/boost/detail/workaround.hpp:8:0, from /tmp/chat/swift/work/.buildlink/include/boost/foreach.hpp:31, from ./Swiften/Base/foreach.h:9, from Swift/Controllers/Highlighter.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major___WORKAROUND_GUARD" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:261:10: note: in definition of macro 'BOOST_WORKAROUND' ((symbol ## _WORKAROUND_GUARD + 0 == 0) && \ ^~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major__" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:262:9: note: in definition of macro 'BOOST_WORKAROUND' (symbol != 0) && (1 % (( (symbol test) ) + 1))) ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/foreach.hpp:76:0, from ./Swiften/Base/foreach.h:9, from Swift/Controllers/Highlighter.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:27:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:45:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:63:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:81:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:99:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:117:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:142:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT(( ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:148:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_category)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:149:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:150:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:152:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:161:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits.hpp:35:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/regex_traits.hpp:28, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:39, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/Highlighter.h:11, from Swift/Controllers/Highlighter.cpp:14: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'boost::regex_constants::syntax_type boost::re_detail_500::get_default_syntax_type(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:366:38: warning: use of old-style cast [-Wold-style-cast] return char_syntax[(unsigned char)c]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'boost::regex_constants::escape_syntax_type boost::re_detail_500::get_default_escape_syntax_type(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:561:38: warning: use of old-style cast [-Wold-style-cast] return char_syntax[(unsigned char)c]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'std::ptrdiff_t boost::re_detail_500::global_length(const charT*) [with charT = wchar_t; std::ptrdiff_t = long int]': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:854:42: warning: use of old-style cast [-Wold-style-cast] return (std::ptrdiff_t)(std::wcslen)(p); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'char boost::re_detail_500::do_global_lower(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:870:59: warning: use of old-style cast [-Wold-style-cast] return static_cast((std::tolower)((unsigned char)c)); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'char boost::re_detail_500::do_global_upper(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:875:59: warning: use of old-style cast [-Wold-style-cast] return static_cast((std::toupper)((unsigned char)c)); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits.hpp:39:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/regex_traits.hpp:28, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:39, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/Highlighter.h:11, from Swift/Controllers/Highlighter.cpp:14: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_char_layer::init()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:289:15: warning: use of old-style cast [-Wold-style-cast] if((int)cat < 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:299:12: warning: use of old-style cast [-Wold-style-cast] if((int)cat >= 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_implementation::init()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:717:15: warning: use of old-style cast [-Wold-style-cast] if((int)cat < 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:727:12: warning: use of old-style cast [-Wold-style-cast] if((int)cat >= 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'int boost::cpp_regex_traits::value(charT, int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:1034:40: warning: use of old-style cast [-Wold-style-cast] return (int)toi(pc, pc + 1, radix); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_char_layer::init()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:1151:19: warning: use of old-style cast [-Wold-style-cast] if ((int)cat < 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:1161:16: warning: use of old-style cast [-Wold-style-cast] if ((int)cat >= 0) ^~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:22:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:67, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/Highlighter.h:11, from Swift/Controllers/Highlighter.cpp:14: /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:109:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 4); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:119:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 8); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:128:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 10); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:137:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 16); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_value(T)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:221:53: warning: use of old-style cast [-Wold-style-cast] return (std::size_t)(v > 0 ? -1 : -2); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:223:40: warning: use of old-style cast [-Wold-style-cast] return (std::size_t)(-3); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:67, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/Highlighter.h:11, from Swift/Controllers/Highlighter.cpp:14: /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp: In function 'std::size_t boost::hash_detail::hash_value_signed(T)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:283:54: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) (positive >> i) + (seed<<6) + (seed>>2); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:285:36: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) val + (seed<<6) + (seed>>2); ^~~ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp: In function 'std::size_t boost::hash_detail::hash_value_unsigned(T)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:303:49: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) (val >> i) + (seed<<6) + (seed>>2); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:305:36: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) val + (seed<<6) + (seed>>2); ^~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:73:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/Highlighter.h:11, from Swift/Controllers/Highlighter.cpp:14: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'void boost::re_detail_500::basic_regex_parser::parse(const charT*, const charT*, unsigned int)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:200:52: warning: use of old-style cast [-Wold-style-cast] this->m_pdata->m_mark_count = 1u + (std::size_t)m_mark_count; ^~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_repeat_range(bool)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:1222:55: warning: use of old-style cast [-Wold-style-cast] max = ((v >= 0) && (v < umax())) ? (std::size_t)v : (std::numeric_limits::max)(); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'charT boost::re_detail_500::basic_regex_parser::unescape_character()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:1835:121: warning: use of old-style cast [-Wold-style-cast] || ((std::numeric_limits::is_specialized) && (i > (boost::intmax_t)(std::numeric_limits::max)())) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:1880:81: warning: use of old-style cast [-Wold-style-cast] if((val < 0) || (val > (boost::intmax_t)(std::numeric_limits::max)())) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_perl_extension()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:2661:59: warning: use of old-style cast [-Wold-style-cast] else if(((std::ptrdiff_t)this->m_pdata->m_data.size() > (static_cast(b)->alt.i + this->getoffset(b))) && (static_cast(b)->alt.i > 0) && this->getaddress(static_cast(b)->alt.i, b)->type == syntax_element_alt) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:2726:48: warning: use of old-style cast [-Wold-style-cast] this->m_pdata->m_subs.at((std::size_t)markid - 1).second = std::distance(m_base, m_position) - 1; ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:76:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/Highlighter.h:11, from Swift/Controllers/Highlighter.cpp:14: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp: In member function 'boost::sub_match::difference_type boost::sub_match::length() const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:68:98: warning: use of old-style cast [-Wold-style-cast] difference_type n = matched ? ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second) : 0; ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:68:125: warning: use of old-style cast [-Wold-style-cast] difference_type n = matched ? ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second) : 0; ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:76:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/Highlighter.h:11, from Swift/Controllers/Highlighter.cpp:14: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp: In member function 'std::__cxx11::basic_string::value_type> boost::sub_match::str() const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:76:89: warning: use of old-style cast [-Wold-style-cast] std::size_t len = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second); ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:76:116: warning: use of old-style cast [-Wold-style-cast] std::size_t len = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second); ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:79:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/Highlighter.h:11, from Swift/Controllers/Highlighter.cpp:14: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp: In member function 'int boost::re_detail_500::trivial_format_traits::toi(const charT*&, const charT*, int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp:89:50: warning: use of old-style cast [-Wold-style-cast] return (int)global_toi(p1, p2, radix, *this); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp: In member function 'int boost::re_detail_500::basic_regex_formatter::toi(ForwardIter&, ForwardIter, int, const false_&)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp:172:63: warning: use of old-style cast [-Wold-style-cast] int r = (int)m_traits.toi(pos, &v[0] + v.size(), base); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:82:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/Highlighter.h:11, from Swift/Controllers/Highlighter.cpp:14: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'boost::match_results::difference_type boost::match_results::length(int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:134:34: warning: use of old-style cast [-Wold-style-cast] if((sub < (int)m_subs.size()) && (sub > 0)) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'boost::match_results::difference_type boost::match_results::position(boost::match_results::size_type) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:170:82: warning: use of old-style cast [-Wold-style-cast] return ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)(m_base), (BidiIterator)(s.first)); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:170:107: warning: use of old-style cast [-Wold-style-cast] return ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)(m_base), (BidiIterator)(s.first)); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'boost::match_results::string_type boost::match_results::str(int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:199:33: warning: use of old-style cast [-Wold-style-cast] if(sub < (int)m_subs.size() && (sub > 0)) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'const typename std::allocator_traits<_Alloc>::value_type& boost::match_results::operator[](int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:233:33: warning: use of old-style cast [-Wold-style-cast] if(sub < (int)m_subs.size() && (sub >= 0)) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'void boost::match_results::maybe_assign(const boost::match_results&)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:658:73: warning: use of old-style cast [-Wold-style-cast] len1 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p1->first, (BidiIterator)p1->second); ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:658:98: warning: use of old-style cast [-Wold-style-cast] len1 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p1->first, (BidiIterator)p1->second); ^~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:659:73: warning: use of old-style cast [-Wold-style-cast] len2 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p2->first, (BidiIterator)p2->second); ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:659:98: warning: use of old-style cast [-Wold-style-cast] len2 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p2->first, (BidiIterator)p2->second); ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:88:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/Highlighter.h:11, from Swift/Controllers/Highlighter.cpp:14: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp: In function 'bool boost::re_detail_500::can_start(char, const unsigned char*, unsigned char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:69:30: warning: use of old-style cast [-Wold-style-cast] return map[(unsigned char)c] & mask; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp: In function 'bool boost::re_detail_500::can_start(signed char, const unsigned char*, unsigned char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:73:30: warning: use of old-style cast [-Wold-style-cast] return map[(unsigned char)c] & mask; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp: In function 'int boost::re_detail_500::string_compare(const Seq&, const C*)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:144:38: warning: use of old-style cast [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:144:50: warning: use of old-style cast [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:144:62: warning: use of old-style cast [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:640:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:88, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/Highlighter.h:11, from Swift/Controllers/Highlighter.cpp:14: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_alt()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:573:67: warning: use of old-style cast [-Wold-style-cast] take_first = can_start(*position, jmp->_map, (unsigned char)mask_take); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:574:68: warning: use of old-style cast [-Wold-style-cast] take_second = can_start(*position, jmp->_map, (unsigned char)mask_skip); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_rep()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:617:67: warning: use of old-style cast [-Wold-style-cast] take_first = can_start(*position, rep->_map, (unsigned char)mask_take); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:618:68: warning: use of old-style cast [-Wold-style-cast] take_second = can_start(*position, rep->_map, (unsigned char)mask_skip); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_char_repeat()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:820:82: warning: use of old-style cast [-Wold-style-cast] count = (unsigned)::boost::BOOST_REGEX_DETAIL_NS::distance(origin, position); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_set_repeat()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:894:82: warning: use of old-style cast [-Wold-style-cast] count = (unsigned)::boost::BOOST_REGEX_DETAIL_NS::distance(origin, position); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_long_set_repeat()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:969:82: warning: use of old-style cast [-Wold-style-cast] count = (unsigned)::boost::BOOST_REGEX_DETAIL_NS::distance(origin, position); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:28:0, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/Highlighter.h:11, from Swift/Controllers/Highlighter.cpp:14: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'void boost::re_detail_500::perl_matcher::estimate_max_state_count(std::random_access_iterator_tag*)': /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:130:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:136:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:142:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:155:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:161:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:643:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:88, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/Highlighter.h:11, from Swift/Controllers/Highlighter.cpp:14: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_any()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:846:78: warning: use of old-style cast [-Wold-style-cast] while((position != last) && !can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_word()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:890:52: warning: use of old-style cast [-Wold-style-cast] if(can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_line()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:925:53: warning: use of old-style cast [-Wold-style-cast] if( can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:118:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/Highlighter.h:11, from Swift/Controllers/Highlighter.cpp:14: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp: In member function 'bool boost::regex_token_iterator_implementation::init(BidirectionalIterator)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp:110:70: warning: use of old-style cast [-Wold-style-cast] result = ((subs[N] == -1) ? what.prefix() : what[(int)subs[N]]); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp: In member function 'bool boost::regex_token_iterator_implementation::next()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp:139:31: warning: use of old-style cast [-Wold-style-cast] if(N+1 < (int)subs.size()) ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:130:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/Highlighter.h:11, from Swift/Controllers/Highlighter.cpp:14: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_split.hpp: In function 'std::size_t boost::regex_split(OutputIterator, std::__cxx11::basic_string&, const boost::basic_regex&, boost::regex_constants::match_flag_type, std::size_t)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_split.hpp:126:62: warning: use of old-style cast [-Wold-style-cast] *out = std::basic_string((ci_t)last, (ci_t)s.end()); ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_split.hpp:126:80: warning: use of old-style cast [-Wold-style-cast] *out = std::basic_string((ci_t)last, (ci_t)s.end()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_archive.hpp:244:0, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/basic_oarchive.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_oarchive.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_oarchive.hpp:29, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_oarchive.hpp:31, from ./Swift/Controllers/HighlightRule.h:19, from ./Swift/Controllers/Highlighter.h:11, from Swift/Controllers/Highlighter.cpp:14: /tmp/chat/swift/work/.buildlink/include/boost/serialization/level.hpp: In function 'bool boost::serialization::operator>=(boost::serialization::implementation_level, boost::serialization::level_type)': /tmp/chat/swift/work/.buildlink/include/boost/serialization/level.hpp:91:28: warning: use of old-style cast [-Wold-style-cast] return t.value >= (int)l; ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/allocate_shared_array.hpp:11:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/make_shared_array.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/make_shared.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/helper_collection.hpp:28, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/basic_oarchive.hpp:26, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_oarchive.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_oarchive.hpp:29, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_oarchive.hpp:31, from ./Swift/Controllers/HighlightRule.h:19, from ./Swift/Controllers/Highlighter.h:11, from Swift/Controllers/Highlighter.cpp:14: /tmp/chat/swift/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /tmp/chat/swift/work/.buildlink/include/boost/core/allocator_access.hpp:414:18: warning: use of old-style cast [-Wold-style-cast] ::new((void*)p) T(std::forward(args)...); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/core/alloc_construct.hpp:11:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/allocate_shared_array.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/make_shared_array.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/make_shared.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/helper_collection.hpp:28, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/basic_oarchive.hpp:26, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_oarchive.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_oarchive.hpp:29, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_oarchive.hpp:31, from ./Swift/Controllers/HighlightRule.h:19, from ./Swift/Controllers/Highlighter.h:11, from Swift/Controllers/Highlighter.cpp:14: /tmp/chat/swift/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor::construct(U*)': /tmp/chat/swift/work/.buildlink/include/boost/core/noinit_adaptor.hpp:46:22: warning: use of old-style cast [-Wold-style-cast] ::new((void*)p) U; ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/oserializer.hpp:56:0, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/interface_oarchive.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_oarchive.hpp:22, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_oarchive.hpp:29, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_oarchive.hpp:31, from ./Swift/Controllers/HighlightRule.h:19, from ./Swift/Controllers/Highlighter.h:11, from Swift/Controllers/Highlighter.cpp:14: /tmp/chat/swift/work/.buildlink/include/boost/serialization/tracking.hpp: In function 'bool boost::serialization::operator>=(boost::serialization::tracking_level, boost::serialization::tracking_type)': /tmp/chat/swift/work/.buildlink/include/boost/serialization/tracking.hpp:82:28: warning: use of old-style cast [-Wold-style-cast] return t.value >= (int)l; ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/interface_iarchive.hpp:22:0, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_iarchive.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_iarchive.hpp:30, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_iarchive.hpp:24, from ./Swift/Controllers/HighlightRule.h:20, from ./Swift/Controllers/Highlighter.h:11, from Swift/Controllers/Highlighter.cpp:14: /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/iserializer.hpp: In static member function 'static void boost::archive::detail::load_pointer_type::invoke(Archive&, Tptr&)': /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/iserializer.hpp:546:24: warning: use of old-style cast [-Wold-style-cast] (void * & )t, ^ CXX Swift/Controllers/HistoryController.o In file included from /tmp/chat/swift/work/.buildlink/include/boost/detail/workaround.hpp:8:0, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/compiler_config.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:14, from ./Swift/Controllers/HistoryController.h:17, from Swift/Controllers/HistoryController.cpp:14: /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major___WORKAROUND_GUARD" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:261:10: note: in definition of macro 'BOOST_WORKAROUND' ((symbol ## _WORKAROUND_GUARD + 0 == 0) && \ ^~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major__" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:262:9: note: in definition of macro 'BOOST_WORKAROUND' (symbol != 0) && (1 % (( (symbol test) ) + 1))) ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/arg.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swift/Controllers/HistoryController.h:17, from Swift/Controllers/HistoryController.cpp:14: /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:27:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:45:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:63:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:81:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:99:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:117:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:142:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT(( ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:148:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_category)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:149:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:150:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:152:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:161:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/compiler_config.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:14, from ./Swift/Controllers/HistoryController.h:17, from Swift/Controllers/HistoryController.cpp:14: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast [-Wold-style-cast] , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept/assert.hpp:35:0, from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swift/Controllers/HistoryController.h:17, from Swift/Controllers/HistoryController.cpp:14: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->constraints(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:31:0, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swift/Controllers/HistoryController.h:17, from Swift/Controllers/HistoryController.cpp:14: /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements::~usage_requirements()': /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast [-Wold-style-cast] ~usage_requirements() { ((Model*)0)->~Model(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/arg.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swift/Controllers/HistoryController.h:17, from Swift/Controllers/HistoryController.cpp:14: /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp:147:7: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((boost::is_integral)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast [-Wold-style-cast] >::************)) 0 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp:148:7: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' BOOST_MPL_ASSERT_RELATION(std::numeric_limits::is_signed, ==, true); ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:188:13: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_integral)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast [-Wold-style-cast] >::************)) 0 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' BOOST_MPL_ASSERT_RELATION(std::numeric_limits::is_signed, ==, true); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/compiler_config.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:14, from ./Swift/Controllers/HistoryController.h:17, from Swift/Controllers/HistoryController.cpp:14: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp:136:63: warning: use of old-style cast [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ CXX Swift/Controllers/HistoryViewController.o In file included from ./Swift/Controllers/HistoryViewController.h:10:0, from Swift/Controllers/HistoryViewController.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp:41:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. ) ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/swift-3.0/3rdParty/Boost/src/boost/signal.hpp:25, from ./Swiften/Base/boost_bsignals.h:17, from ./Swift/Controllers/HistoryViewController.h:9, from Swift/Controllers/HistoryViewController.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast [-Wold-style-cast] , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept/assert.hpp:35:0, from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swift/Controllers/HistoryController.h:17, from Swift/Controllers/HistoryViewController.cpp:21: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->constraints(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:31:0, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swift/Controllers/HistoryController.h:17, from Swift/Controllers/HistoryViewController.cpp:21: /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements::~usage_requirements()': /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast [-Wold-style-cast] ~usage_requirements() { ((Model*)0)->~Model(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/swift-3.0/3rdParty/Boost/src/boost/signal.hpp:25, from ./Swiften/Base/boost_bsignals.h:17, from ./Swift/Controllers/HistoryViewController.h:9, from Swift/Controllers/HistoryViewController.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp:136:63: warning: use of old-style cast [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ CXX Swift/Controllers/MainController.o In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/bad_weak_ptr.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/shared_ptr.hpp:17, from ./Swift/Controllers/MainController.h:13, from Swift/Controllers/MainController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast [-Wold-style-cast] , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept/assert.hpp:35:0, from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/lexical_cast.hpp:30, from ./Swiften/Base/URL.h:10, from ./Swiften/Client/ClientOptions.h:12, from ./Swiften/Client/CoreClient.h:17, from ./Swiften/Client/ClientXMLTracer.h:10, from ./Swift/Controllers/MainController.h:24, from Swift/Controllers/MainController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->constraints(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:31:0, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/lexical_cast.hpp:30, from ./Swiften/Base/URL.h:10, from ./Swiften/Client/ClientOptions.h:12, from ./Swiften/Client/CoreClient.h:17, from ./Swiften/Client/ClientXMLTracer.h:10, from ./Swift/Controllers/MainController.h:24, from Swift/Controllers/MainController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements::~usage_requirements()': /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast [-Wold-style-cast] ~usage_requirements() { ((Model*)0)->~Model(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/bad_weak_ptr.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/shared_ptr.hpp:17, from ./Swift/Controllers/MainController.h:13, from Swift/Controllers/MainController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp:136:63: warning: use of old-style cast [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ In file included from Swift/Controllers/MainController.cpp:11:0: /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp:41:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. ) ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/assert.hpp:58:0, from /tmp/chat/swift/work/.buildlink/include/boost/format/feed_args.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/format.hpp:49, from ./Swiften/Base/format.h:9, from Swift/Controllers/MainController.cpp:19: /tmp/chat/swift/work/.buildlink/include/boost/format/feed_args.hpp: In function 'void boost::io::detail::put(T, const boost::io::detail::format_item&, typename boost::basic_format::string_type&, typename boost::basic_format::internal_streambuf_t&, boost::io::detail::locale_t*)': /tmp/chat/swift/work/.buildlink/include/boost/format/feed_args.hpp:268:79: warning: use of old-style cast [-Wold-style-cast] BOOST_ASSERT(i+(tmp_size-i)+(std::max)(d,(std::streamsize)0) ^ /tmp/chat/swift/work/.buildlink/include/boost/format/feed_args.hpp:268:21: note: in expansion of macro 'BOOST_ASSERT' BOOST_ASSERT(i+(tmp_size-i)+(std::max)(d,(std::streamsize)0) ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits.hpp:35:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/regex_traits.hpp:28, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:39, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatsManager.h:26, from Swift/Controllers/MainController.cpp:50: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'boost::regex_constants::syntax_type boost::re_detail_500::get_default_syntax_type(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:366:38: warning: use of old-style cast [-Wold-style-cast] return char_syntax[(unsigned char)c]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'boost::regex_constants::escape_syntax_type boost::re_detail_500::get_default_escape_syntax_type(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:561:38: warning: use of old-style cast [-Wold-style-cast] return char_syntax[(unsigned char)c]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'std::ptrdiff_t boost::re_detail_500::global_length(const charT*) [with charT = wchar_t; std::ptrdiff_t = long int]': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:854:42: warning: use of old-style cast [-Wold-style-cast] return (std::ptrdiff_t)(std::wcslen)(p); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'char boost::re_detail_500::do_global_lower(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:870:59: warning: use of old-style cast [-Wold-style-cast] return static_cast((std::tolower)((unsigned char)c)); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp: In function 'char boost::re_detail_500::do_global_upper(char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits_defaults.hpp:875:59: warning: use of old-style cast [-Wold-style-cast] return static_cast((std::toupper)((unsigned char)c)); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_traits.hpp:39:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/regex_traits.hpp:28, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:39, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatsManager.h:26, from Swift/Controllers/MainController.cpp:50: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_char_layer::init()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:289:15: warning: use of old-style cast [-Wold-style-cast] if((int)cat < 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:299:12: warning: use of old-style cast [-Wold-style-cast] if((int)cat >= 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_implementation::init()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:717:15: warning: use of old-style cast [-Wold-style-cast] if((int)cat < 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:727:12: warning: use of old-style cast [-Wold-style-cast] if((int)cat >= 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'int boost::cpp_regex_traits::value(charT, int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:1034:40: warning: use of old-style cast [-Wold-style-cast] return (int)toi(pc, pc + 1, radix); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_char_layer::init()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:1151:19: warning: use of old-style cast [-Wold-style-cast] if ((int)cat < 0) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/cpp_regex_traits.hpp:1161:16: warning: use of old-style cast [-Wold-style-cast] if ((int)cat >= 0) ^~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:22:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:67, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatsManager.h:26, from Swift/Controllers/MainController.cpp:50: /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:109:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 4); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:119:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 8); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:128:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 10); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_impl(Float, typename boost::enable_if_c::value, long unsigned int>::type)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:137:41: warning: use of old-style cast [-Wold-style-cast] return hash_binary((char*) &v, 16); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp: In function 'std::size_t boost::hash_detail::float_hash_value(T)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:221:53: warning: use of old-style cast [-Wold-style-cast] return (std::size_t)(v > 0 ? -1 : -2); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/detail/hash_float.hpp:223:40: warning: use of old-style cast [-Wold-style-cast] return (std::size_t)(-3); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:67, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatsManager.h:26, from Swift/Controllers/MainController.cpp:50: /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp: In function 'std::size_t boost::hash_detail::hash_value_signed(T)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:283:54: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) (positive >> i) + (seed<<6) + (seed>>2); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:285:36: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) val + (seed<<6) + (seed>>2); ^~~ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp: In function 'std::size_t boost::hash_detail::hash_value_unsigned(T)': /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:303:49: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) (val >> i) + (seed<<6) + (seed>>2); ^ /tmp/chat/swift/work/.buildlink/include/boost/container_hash/hash.hpp:305:36: warning: use of old-style cast [-Wold-style-cast] seed ^= (std::size_t) val + (seed<<6) + (seed>>2); ^~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:73:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatsManager.h:26, from Swift/Controllers/MainController.cpp:50: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'void boost::re_detail_500::basic_regex_parser::parse(const charT*, const charT*, unsigned int)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:200:52: warning: use of old-style cast [-Wold-style-cast] this->m_pdata->m_mark_count = 1u + (std::size_t)m_mark_count; ^~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_repeat_range(bool)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:1222:55: warning: use of old-style cast [-Wold-style-cast] max = ((v >= 0) && (v < umax())) ? (std::size_t)v : (std::numeric_limits::max)(); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'charT boost::re_detail_500::basic_regex_parser::unescape_character()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:1835:121: warning: use of old-style cast [-Wold-style-cast] || ((std::numeric_limits::is_specialized) && (i > (boost::intmax_t)(std::numeric_limits::max)())) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:1880:81: warning: use of old-style cast [-Wold-style-cast] if((val < 0) || (val > (boost::intmax_t)(std::numeric_limits::max)())) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_perl_extension()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:2661:59: warning: use of old-style cast [-Wold-style-cast] else if(((std::ptrdiff_t)this->m_pdata->m_data.size() > (static_cast(b)->alt.i + this->getoffset(b))) && (static_cast(b)->alt.i > 0) && this->getaddress(static_cast(b)->alt.i, b)->type == syntax_element_alt) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/basic_regex_parser.hpp:2726:48: warning: use of old-style cast [-Wold-style-cast] this->m_pdata->m_subs.at((std::size_t)markid - 1).second = std::distance(m_base, m_position) - 1; ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:76:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatsManager.h:26, from Swift/Controllers/MainController.cpp:50: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp: In member function 'boost::sub_match::difference_type boost::sub_match::length() const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:68:98: warning: use of old-style cast [-Wold-style-cast] difference_type n = matched ? ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second) : 0; ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:68:125: warning: use of old-style cast [-Wold-style-cast] difference_type n = matched ? ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second) : 0; ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:76:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatsManager.h:26, from Swift/Controllers/MainController.cpp:50: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp: In member function 'std::__cxx11::basic_string::value_type> boost::sub_match::str() const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:76:89: warning: use of old-style cast [-Wold-style-cast] std::size_t len = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second); ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/sub_match.hpp:76:116: warning: use of old-style cast [-Wold-style-cast] std::size_t len = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)this->first, (BidiIterator)this->second); ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:79:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatsManager.h:26, from Swift/Controllers/MainController.cpp:50: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp: In member function 'int boost::re_detail_500::trivial_format_traits::toi(const charT*&, const charT*, int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp:89:50: warning: use of old-style cast [-Wold-style-cast] return (int)global_toi(p1, p2, radix, *this); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp: In member function 'int boost::re_detail_500::basic_regex_formatter::toi(ForwardIter&, ForwardIter, int, const false_&)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_format.hpp:172:63: warning: use of old-style cast [-Wold-style-cast] int r = (int)m_traits.toi(pos, &v[0] + v.size(), base); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:82:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatsManager.h:26, from Swift/Controllers/MainController.cpp:50: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'boost::match_results::difference_type boost::match_results::length(int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:134:34: warning: use of old-style cast [-Wold-style-cast] if((sub < (int)m_subs.size()) && (sub > 0)) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'boost::match_results::difference_type boost::match_results::position(boost::match_results::size_type) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:170:82: warning: use of old-style cast [-Wold-style-cast] return ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)(m_base), (BidiIterator)(s.first)); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:170:107: warning: use of old-style cast [-Wold-style-cast] return ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)(m_base), (BidiIterator)(s.first)); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'boost::match_results::string_type boost::match_results::str(int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:199:33: warning: use of old-style cast [-Wold-style-cast] if(sub < (int)m_subs.size() && (sub > 0)) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'const typename std::allocator_traits<_Alloc>::value_type& boost::match_results::operator[](int) const': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:233:33: warning: use of old-style cast [-Wold-style-cast] if(sub < (int)m_subs.size() && (sub >= 0)) ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp: In member function 'void boost::match_results::maybe_assign(const boost::match_results&)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:658:73: warning: use of old-style cast [-Wold-style-cast] len1 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p1->first, (BidiIterator)p1->second); ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:658:98: warning: use of old-style cast [-Wold-style-cast] len1 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p1->first, (BidiIterator)p1->second); ^~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:659:73: warning: use of old-style cast [-Wold-style-cast] len2 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p2->first, (BidiIterator)p2->second); ^~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/match_results.hpp:659:98: warning: use of old-style cast [-Wold-style-cast] len2 = ::boost::BOOST_REGEX_DETAIL_NS::distance((BidiIterator)p2->first, (BidiIterator)p2->second); ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:88:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatsManager.h:26, from Swift/Controllers/MainController.cpp:50: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp: In function 'bool boost::re_detail_500::can_start(char, const unsigned char*, unsigned char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:69:30: warning: use of old-style cast [-Wold-style-cast] return map[(unsigned char)c] & mask; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp: In function 'bool boost::re_detail_500::can_start(signed char, const unsigned char*, unsigned char)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:73:30: warning: use of old-style cast [-Wold-style-cast] return map[(unsigned char)c] & mask; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp: In function 'int boost::re_detail_500::string_compare(const Seq&, const C*)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:144:38: warning: use of old-style cast [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:144:50: warning: use of old-style cast [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:144:62: warning: use of old-style cast [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:640:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:88, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatsManager.h:26, from Swift/Controllers/MainController.cpp:50: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_alt()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:573:67: warning: use of old-style cast [-Wold-style-cast] take_first = can_start(*position, jmp->_map, (unsigned char)mask_take); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:574:68: warning: use of old-style cast [-Wold-style-cast] take_second = can_start(*position, jmp->_map, (unsigned char)mask_skip); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_rep()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:617:67: warning: use of old-style cast [-Wold-style-cast] take_first = can_start(*position, rep->_map, (unsigned char)mask_take); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:618:68: warning: use of old-style cast [-Wold-style-cast] take_second = can_start(*position, rep->_map, (unsigned char)mask_skip); ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_char_repeat()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:820:82: warning: use of old-style cast [-Wold-style-cast] count = (unsigned)::boost::BOOST_REGEX_DETAIL_NS::distance(origin, position); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_set_repeat()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:894:82: warning: use of old-style cast [-Wold-style-cast] count = (unsigned)::boost::BOOST_REGEX_DETAIL_NS::distance(origin, position); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_long_set_repeat()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_non_recursive.hpp:969:82: warning: use of old-style cast [-Wold-style-cast] count = (unsigned)::boost::BOOST_REGEX_DETAIL_NS::distance(origin, position); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:28:0, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatsManager.h:26, from Swift/Controllers/MainController.cpp:50: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'void boost::re_detail_500::perl_matcher::estimate_max_state_count(std::random_access_iterator_tag*)': /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: note: in definition of macro 'BOOST_REGEX_MAX_STATE_COUNT' # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: note: in definition of macro 'BOOST_REGEX_MAX_STATE_COUNT' # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: note: in definition of macro 'BOOST_REGEX_MAX_STATE_COUNT' # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: note: in definition of macro 'BOOST_REGEX_MAX_STATE_COUNT' # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/config.hpp:343:39: note: in definition of macro 'BOOST_REGEX_MAX_STATE_COUNT' # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher.hpp:643:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:88, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatsManager.h:26, from Swift/Controllers/MainController.cpp:50: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_any()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:846:78: warning: use of old-style cast [-Wold-style-cast] while((position != last) && !can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_word()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:890:52: warning: use of old-style cast [-Wold-style-cast] if(can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_line()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/perl_matcher_common.hpp:925:53: warning: use of old-style cast [-Wold-style-cast] if( can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:118:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatsManager.h:26, from Swift/Controllers/MainController.cpp:50: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp: In member function 'bool boost::regex_token_iterator_implementation::init(BidirectionalIterator)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp:110:70: warning: use of old-style cast [-Wold-style-cast] result = ((subs[N] == -1) ? what.prefix() : what[(int)subs[N]]); ^ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp: In member function 'bool boost::regex_token_iterator_implementation::next()': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_token_iterator.hpp:139:31: warning: use of old-style cast [-Wold-style-cast] if(N+1 < (int)subs.size()) ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex.hpp:130:0, from /tmp/chat/swift/work/.buildlink/include/boost/regex.hpp:32, from ./Swift/Controllers/HighlightRule.h:18, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatsManager.h:26, from Swift/Controllers/MainController.cpp:50: /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_split.hpp: In function 'std::size_t boost::regex_split(OutputIterator, std::__cxx11::basic_string&, const boost::basic_regex&, boost::regex_constants::match_flag_type, std::size_t)': /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_split.hpp:126:62: warning: use of old-style cast [-Wold-style-cast] *out = std::basic_string((ci_t)last, (ci_t)s.end()); ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/regex/v4/regex_split.hpp:126:80: warning: use of old-style cast [-Wold-style-cast] *out = std::basic_string((ci_t)last, (ci_t)s.end()); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_archive.hpp:244:0, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/basic_oarchive.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_oarchive.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_oarchive.hpp:29, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_oarchive.hpp:31, from ./Swift/Controllers/HighlightRule.h:19, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatsManager.h:26, from Swift/Controllers/MainController.cpp:50: /tmp/chat/swift/work/.buildlink/include/boost/serialization/level.hpp: In function 'bool boost::serialization::operator>=(boost::serialization::implementation_level, boost::serialization::level_type)': /tmp/chat/swift/work/.buildlink/include/boost/serialization/level.hpp:91:28: warning: use of old-style cast [-Wold-style-cast] return t.value >= (int)l; ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/oserializer.hpp:56:0, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/interface_oarchive.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_oarchive.hpp:22, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_oarchive.hpp:29, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_oarchive.hpp:31, from ./Swift/Controllers/HighlightRule.h:19, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatsManager.h:26, from Swift/Controllers/MainController.cpp:50: /tmp/chat/swift/work/.buildlink/include/boost/serialization/tracking.hpp: In function 'bool boost::serialization::operator>=(boost::serialization::tracking_level, boost::serialization::tracking_type)': /tmp/chat/swift/work/.buildlink/include/boost/serialization/tracking.hpp:82:28: warning: use of old-style cast [-Wold-style-cast] return t.value >= (int)l; ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/interface_iarchive.hpp:22:0, from /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/common_iarchive.hpp:23, from /tmp/chat/swift/work/.buildlink/include/boost/archive/basic_text_iarchive.hpp:30, from /tmp/chat/swift/work/.buildlink/include/boost/archive/text_iarchive.hpp:24, from ./Swift/Controllers/HighlightRule.h:20, from ./Swift/Controllers/HighlightManager.h:19, from ./Swift/Controllers/UIInterfaces/ChatWindow.h:25, from ./Swift/Controllers/Chat/ChatsManager.h:26, from Swift/Controllers/MainController.cpp:50: /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/iserializer.hpp: In static member function 'static void boost::archive::detail::load_pointer_type::invoke(Archive&, Tptr&)': /tmp/chat/swift/work/.buildlink/include/boost/archive/detail/iserializer.hpp:546:24: warning: use of old-style cast [-Wold-style-cast] (void * & )t, ^ CXX Swift/Controllers/PresenceNotifier.o In file included from Swift/Controllers/PresenceNotifier.cpp:9:0: /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp:41:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. ) ^ CXX Swift/Controllers/PreviousStatusStore.o In file included from /tmp/chat/swift/work/.buildlink/include/boost/throw_exception.hpp:26:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/shared_ptr.hpp:17, from ./Swiften/Elements/Payload.h:9, from ./Swiften/Elements/StatusShow.h:10, from Swift/Controllers/PreviousStatusStore.h:13, from Swift/Controllers/PreviousStatusStore.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major___WORKAROUND_GUARD" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:261:10: note: in definition of macro 'BOOST_WORKAROUND' ((symbol ## _WORKAROUND_GUARD + 0 == 0) && \ ^~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major__" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:262:9: note: in definition of macro 'BOOST_WORKAROUND' (symbol != 0) && (1 % (( (symbol test) ) + 1))) ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/foreach.hpp:76:0, from ./Swiften/Base/foreach.h:9, from Swift/Controllers/PreviousStatusStore.cpp:9: /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:27:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:45:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:63:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:81:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:99:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:117:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:142:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT(( ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:148:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_category)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:149:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:150:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:152:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:161:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ CXX Swift/Controllers/ProfileController.o In file included from /tmp/chat/swift/work/.buildlink/include/boost/throw_exception.hpp:26:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/shared_ptr.hpp:17, from ./Swiften/Elements/ErrorPayload.h:9, from ./Swift/Controllers/ProfileController.h:9, from Swift/Controllers/ProfileController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major___WORKAROUND_GUARD" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:261:10: note: in definition of macro 'BOOST_WORKAROUND' ((symbol ## _WORKAROUND_GUARD + 0 == 0) && \ ^~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major__" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:262:9: note: in definition of macro 'BOOST_WORKAROUND' (symbol != 0) && (1 % (( (symbol test) ) + 1))) ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/arg.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/filesystem/path.hpp:29, from ./Swiften/Base/ByteArray.h:13, from ./Swiften/Elements/VCard.h:15, from ./Swift/Controllers/ProfileController.h:10, from Swift/Controllers/ProfileController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:27:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:45:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:63:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:81:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:99:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:117:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:142:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT(( ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:148:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_category)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:149:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:150:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:152:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:161:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ In file included from Swift/Controllers/ProfileController.cpp:9:0: /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp:41:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. ) ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/bad_weak_ptr.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/shared_ptr.hpp:17, from ./Swiften/Elements/ErrorPayload.h:9, from ./Swift/Controllers/ProfileController.h:9, from Swift/Controllers/ProfileController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast [-Wold-style-cast] , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept/assert.hpp:35:0, from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swiften/VCards/VCardManager.h:11, from Swift/Controllers/ProfileController.cpp:11: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->constraints(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:31:0, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swiften/VCards/VCardManager.h:11, from Swift/Controllers/ProfileController.cpp:11: /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements::~usage_requirements()': /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast [-Wold-style-cast] ~usage_requirements() { ((Model*)0)->~Model(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/arg.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/filesystem/path.hpp:29, from ./Swiften/Base/ByteArray.h:13, from ./Swiften/Elements/VCard.h:15, from ./Swift/Controllers/ProfileController.h:10, from Swift/Controllers/ProfileController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp:147:7: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((boost::is_integral)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast [-Wold-style-cast] >::************)) 0 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp:148:7: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' BOOST_MPL_ASSERT_RELATION(std::numeric_limits::is_signed, ==, true); ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:188:13: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_integral)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast [-Wold-style-cast] >::************)) 0 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' BOOST_MPL_ASSERT_RELATION(std::numeric_limits::is_signed, ==, true); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/bad_weak_ptr.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/shared_ptr.hpp:17, from ./Swiften/Elements/ErrorPayload.h:9, from ./Swift/Controllers/ProfileController.h:9, from Swift/Controllers/ProfileController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp:136:63: warning: use of old-style cast [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ CXX Swift/Controllers/ProfileSettingsProvider.o In file included from /tmp/chat/swift/work/.buildlink/include/boost/detail/workaround.hpp:8:0, from /tmp/chat/swift/work/.buildlink/include/boost/foreach.hpp:31, from ./Swiften/Base/foreach.h:9, from ./Swift/Controllers/ProfileSettingsProvider.h:9, from Swift/Controllers/ProfileSettingsProvider.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major___WORKAROUND_GUARD" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:261:10: note: in definition of macro 'BOOST_WORKAROUND' ((symbol ## _WORKAROUND_GUARD + 0 == 0) && \ ^~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major__" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:262:9: note: in definition of macro 'BOOST_WORKAROUND' (symbol != 0) && (1 % (( (symbol test) ) + 1))) ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/foreach.hpp:76:0, from ./Swiften/Base/foreach.h:9, from ./Swift/Controllers/ProfileSettingsProvider.h:9, from Swift/Controllers/ProfileSettingsProvider.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:27:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:45:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:63:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:81:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:99:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:117:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:142:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT(( ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:148:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_category)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:149:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:150:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:152:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:161:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ CXX Swift/Controllers/Roster/ContactRosterItem.o In file included from /tmp/chat/swift/work/.buildlink/include/boost/core/ref.hpp:11:0, from /tmp/chat/swift/work/.buildlink/include/boost/ref.hpp:15, from /tmp/chat/swift/work/.buildlink/include/boost/bind/bind.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp:29, from ./Swift/Controllers/Roster/ContactRosterItem.h:13, from Swift/Controllers/Roster/ContactRosterItem.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major___WORKAROUND_GUARD" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:261:10: note: in definition of macro 'BOOST_WORKAROUND' ((symbol ## _WORKAROUND_GUARD + 0 == 0) && \ ^~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major__" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:262:9: note: in definition of macro 'BOOST_WORKAROUND' (symbol != 0) && (1 % (( (symbol test) ) + 1))) ^~~~~~ In file included from ./Swift/Controllers/Roster/ContactRosterItem.h:13:0, from Swift/Controllers/Roster/ContactRosterItem.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp:41:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. ) ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/arg.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/filesystem/path.hpp:29, from ./Swift/Controllers/Roster/ContactRosterItem.h:15, from Swift/Controllers/Roster/ContactRosterItem.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:27:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:45:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:63:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:81:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:99:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:117:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:142:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT(( ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:148:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_category)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:149:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:150:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:152:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:161:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/bind/bind.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp:29, from ./Swift/Controllers/Roster/ContactRosterItem.h:13, from Swift/Controllers/Roster/ContactRosterItem.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast [-Wold-style-cast] , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept/assert.hpp:35:0, from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from Swift/Controllers/Roster/ContactRosterItem.cpp:9: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->constraints(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:31:0, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from Swift/Controllers/Roster/ContactRosterItem.cpp:9: /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements::~usage_requirements()': /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast [-Wold-style-cast] ~usage_requirements() { ((Model*)0)->~Model(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/arg.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/filesystem/path.hpp:29, from ./Swift/Controllers/Roster/ContactRosterItem.h:15, from Swift/Controllers/Roster/ContactRosterItem.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp:147:7: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((boost::is_integral)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast [-Wold-style-cast] >::************)) 0 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp:148:7: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' BOOST_MPL_ASSERT_RELATION(std::numeric_limits::is_signed, ==, true); ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:188:13: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_integral)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast [-Wold-style-cast] >::************)) 0 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' BOOST_MPL_ASSERT_RELATION(std::numeric_limits::is_signed, ==, true); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/bind/bind.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp:29, from ./Swift/Controllers/Roster/ContactRosterItem.h:13, from Swift/Controllers/Roster/ContactRosterItem.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp:136:63: warning: use of old-style cast [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ CXX Swift/Controllers/Roster/GroupRosterItem.o In file included from ./Swift/Controllers/Roster/ContactRosterItem.h:13:0, from ./Swift/Controllers/Roster/GroupRosterItem.h:11, from Swift/Controllers/Roster/GroupRosterItem.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp:41:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. ) ^ CXX Swift/Controllers/Roster/Roster.o In file included from ./Swift/Controllers/Roster/ContactRosterItem.h:13:0, from ./Swift/Controllers/Roster/Roster.h:19, from Swift/Controllers/Roster/Roster.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp:41:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. ) ^ CXX Swift/Controllers/Roster/RosterController.o In file included from /tmp/chat/swift/work/.buildlink/include/boost/throw_exception.hpp:26:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/shared_ptr.hpp:17, from ./Swift/Controllers/Roster/RosterController.h:12, from Swift/Controllers/Roster/RosterController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major___WORKAROUND_GUARD" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:261:10: note: in definition of macro 'BOOST_WORKAROUND' ((symbol ## _WORKAROUND_GUARD + 0 == 0) && \ ^~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major__" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:262:9: note: in definition of macro 'BOOST_WORKAROUND' (symbol != 0) && (1 % (( (symbol test) ) + 1))) ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/arg.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/filesystem/path.hpp:29, from ./Swiften/Avatars/AvatarManager.h:9, from ./Swift/Controllers/Roster/RosterController.h:14, from Swift/Controllers/Roster/RosterController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:27:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:45:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:63:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:81:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:99:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:117:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:142:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT(( ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:148:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_category)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:149:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:150:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:152:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:161:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ In file included from ./Swift/Controllers/Roster/ContactRosterItem.h:13:0, from ./Swift/Controllers/Roster/RosterController.h:22, from Swift/Controllers/Roster/RosterController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp:41:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. ) ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/bad_weak_ptr.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/shared_ptr.hpp:17, from ./Swift/Controllers/Roster/RosterController.h:12, from Swift/Controllers/Roster/RosterController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp:136:63: warning: use of old-style cast [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/assert.hpp:58:0, from /tmp/chat/swift/work/.buildlink/include/boost/format/feed_args.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/format.hpp:49, from ./Swiften/Base/format.h:9, from Swift/Controllers/Roster/RosterController.cpp:15: /tmp/chat/swift/work/.buildlink/include/boost/format/feed_args.hpp: In function 'void boost::io::detail::put(T, const boost::io::detail::format_item&, typename boost::basic_format::string_type&, typename boost::basic_format::internal_streambuf_t&, boost::io::detail::locale_t*)': /tmp/chat/swift/work/.buildlink/include/boost/format/feed_args.hpp:268:79: warning: use of old-style cast [-Wold-style-cast] BOOST_ASSERT(i+(tmp_size-i)+(std::max)(d,(std::streamsize)0) ^ /tmp/chat/swift/work/.buildlink/include/boost/format/feed_args.hpp:268:21: note: in expansion of macro 'BOOST_ASSERT' BOOST_ASSERT(i+(tmp_size-i)+(std::max)(d,(std::streamsize)0) ^~~~~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/bad_weak_ptr.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/shared_ptr.hpp:17, from ./Swift/Controllers/Roster/RosterController.h:12, from Swift/Controllers/Roster/RosterController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/has_constraints.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast [-Wold-style-cast] , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept/assert.hpp:35:0, from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swiften/FileTransfer/FileTransferManager.h:17, from Swift/Controllers/Roster/RosterController.cpp:21: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->constraints(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:31:0, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swiften/FileTransfer/FileTransferManager.h:17, from Swift/Controllers/Roster/RosterController.cpp:21: /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements::~usage_requirements()': /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast [-Wold-style-cast] ~usage_requirements() { ((Model*)0)->~Model(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/arg.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/filesystem/path.hpp:29, from ./Swiften/Avatars/AvatarManager.h:9, from ./Swift/Controllers/Roster/RosterController.h:14, from Swift/Controllers/Roster/RosterController.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp:147:7: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((boost::is_integral)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast [-Wold-style-cast] >::************)) 0 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp:148:7: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' BOOST_MPL_ASSERT_RELATION(std::numeric_limits::is_signed, ==, true); ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:188:13: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_integral)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast [-Wold-style-cast] >::************)) 0 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' BOOST_MPL_ASSERT_RELATION(std::numeric_limits::is_signed, ==, true); ^~~~~~~~~~~~~~~~~~~~~~~~~ CXX Swift/Controllers/Roster/RosterGroupExpandinessPersister.o In file included from ./Swift/Controllers/Roster/ContactRosterItem.h:13:0, from ./Swift/Controllers/Roster/Roster.h:19, from ./Swift/Controllers/Roster/RosterGroupExpandinessPersister.h:10, from Swift/Controllers/Roster/RosterGroupExpandinessPersister.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp:41:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. ) ^ CXX Swift/Controllers/Roster/RosterItem.o In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/swift-3.0/3rdParty/Boost/src/boost/signal.hpp:25, from ./Swiften/Base/boost_bsignals.h:17, from ./Swift/Controllers/Roster/RosterItem.h:9, from Swift/Controllers/Roster/RosterItem.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast [-Wold-style-cast] , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept/assert.hpp:35:0, from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/range/as_literal.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/trim.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:19, from Swift/Controllers/Roster/RosterItem.cpp:9: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->constraints(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:31:0, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/range/as_literal.hpp:18, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/trim.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string.hpp:19, from Swift/Controllers/Roster/RosterItem.cpp:9: /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements::~usage_requirements()': /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast [-Wold-style-cast] ~usage_requirements() { ((Model*)0)->~Model(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/swift-3.0/3rdParty/Boost/src/boost/signal.hpp:25, from ./Swiften/Base/boost_bsignals.h:17, from ./Swift/Controllers/Roster/RosterItem.h:9, from Swift/Controllers/Roster/RosterItem.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp:136:63: warning: use of old-style cast [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ In file included from ./Swift/Controllers/Roster/ContactRosterItem.h:13:0, from ./Swift/Controllers/Roster/GroupRosterItem.h:11, from Swift/Controllers/Roster/RosterItem.cpp:11: /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp:41:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. ) ^ CXX Swift/Controllers/Roster/RosterVCardProvider.o In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/type_traits/intrinsics.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/type_traits/is_convertible.hpp:15, from /tmp/chat/swift/work/.buildlink/include/boost/type_traits/conversion_traits.hpp:15, from /tmp/chat/swift/work/swift-3.0/3rdParty/Boost/src/boost/signals/detail/signals_common.hpp:17, from /tmp/chat/swift/work/swift-3.0/3rdParty/Boost/src/boost/signals/connection.hpp:13, from ./Swift/Controllers/Roster/RosterVCardProvider.h:9, from Swift/Controllers/Roster/RosterVCardProvider.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast [-Wold-style-cast] , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept/assert.hpp:35:0, from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swiften/VCards/VCardManager.h:11, from Swift/Controllers/Roster/RosterVCardProvider.cpp:9: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->constraints(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:31:0, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from ./Swiften/VCards/VCardManager.h:11, from Swift/Controllers/Roster/RosterVCardProvider.cpp:9: /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements::~usage_requirements()': /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast [-Wold-style-cast] ~usage_requirements() { ((Model*)0)->~Model(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/.buildlink/include/boost/type_traits/intrinsics.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/type_traits/is_convertible.hpp:15, from /tmp/chat/swift/work/.buildlink/include/boost/type_traits/conversion_traits.hpp:15, from /tmp/chat/swift/work/swift-3.0/3rdParty/Boost/src/boost/signals/detail/signals_common.hpp:17, from /tmp/chat/swift/work/swift-3.0/3rdParty/Boost/src/boost/signals/connection.hpp:13, from ./Swift/Controllers/Roster/RosterVCardProvider.h:9, from Swift/Controllers/Roster/RosterVCardProvider.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp:136:63: warning: use of old-style cast [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ In file included from ./Swift/Controllers/Roster/ContactRosterItem.h:13:0, from ./Swift/Controllers/Roster/Roster.h:19, from Swift/Controllers/Roster/RosterVCardProvider.cpp:11: /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp:41:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. ) ^ CXX Swift/Controllers/Roster/TableRoster.o In file included from ./Swift/Controllers/Roster/ContactRosterItem.h:13:0, from ./Swift/Controllers/Roster/Roster.h:19, from Swift/Controllers/Roster/TableRoster.cpp:17: /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp:41:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. ) ^ CXX Swift/Controllers/SettingConstants.o CXX Swift/Controllers/Settings/SettingsProviderHierachy.o CXX Swift/Controllers/Settings/XMLSettingsProvider.o In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/swift-3.0/3rdParty/Boost/src/boost/signal.hpp:25, from ./Swiften/Base/boost_bsignals.h:17, from ./Swift/Controllers/Settings/SettingsProvider.h:9, from ./Swift/Controllers/Settings/XMLSettingsProvider.h:9, from Swift/Controllers/Settings/XMLSettingsProvider.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast [-Wold-style-cast] , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept/assert.hpp:35:0, from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/lexical_cast.hpp:30, from Swift/Controllers/Settings/XMLSettingsProvider.cpp:9: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->constraints(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:31:0, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/lexical_cast.hpp:30, from Swift/Controllers/Settings/XMLSettingsProvider.cpp:9: /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements::~usage_requirements()': /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast [-Wold-style-cast] ~usage_requirements() { ((Model*)0)->~Model(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from /tmp/chat/swift/work/swift-3.0/3rdParty/Boost/src/boost/signal.hpp:25, from ./Swiften/Base/boost_bsignals.h:17, from ./Swift/Controllers/Settings/SettingsProvider.h:9, from ./Swift/Controllers/Settings/XMLSettingsProvider.h:9, from Swift/Controllers/Settings/XMLSettingsProvider.cpp:7: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp:136:63: warning: use of old-style cast [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ CXX Swift/Controllers/ShowProfileController.o In file included from /tmp/chat/swift/work/.buildlink/include/boost/throw_exception.hpp:26:0, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/detail/shared_count.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/shared_ptr.hpp:17, from ./Swiften/Elements/VCard.h:9, from Swift/Controllers/ShowProfileController.h:10, from Swift/Controllers/ShowProfileController.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major___WORKAROUND_GUARD" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:261:10: note: in definition of macro 'BOOST_WORKAROUND' ((symbol ## _WORKAROUND_GUARD + 0 == 0) && \ ^~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/type_traits/detail/config.hpp:85:69: warning: "__clang_major__" is not defined, evaluates to 0 [-Wundef] && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) ^ /tmp/chat/swift/work/.buildlink/include/boost/config/workaround.hpp:262:9: note: in definition of macro 'BOOST_WORKAROUND' (symbol != 0) && (1 % (( (symbol test) ) + 1))) ^~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/arg.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/filesystem/path.hpp:29, from ./Swiften/Base/ByteArray.h:13, from ./Swiften/Elements/VCard.h:15, from Swift/Controllers/ShowProfileController.h:10, from Swift/Controllers/ShowProfileController.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:27:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:45:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:63:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:81:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:99:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:25:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((boost::mpl::is_na)) \ ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp:117:9: note: in expansion of macro 'BOOST_MPL_AUX_ASSERT_NOT_NA' BOOST_MPL_AUX_ASSERT_NOT_NA(type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:142:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT(( ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:148:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_category)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:149:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:150:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:152:5: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_iterator_traversal)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:324:58: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/detail/facade_iterator_category.hpp:161:5: note: in expansion of macro 'BOOST_MPL_ASSERT_NOT' BOOST_MPL_ASSERT_NOT((is_iterator_category)); ^~~~~~~~~~~~~~~~~~~~ In file included from Swift/Controllers/ShowProfileController.cpp:13:0: Swift/Controllers/ShowProfileController.h:34:9: error: 'map' in namespace 'std' does not name a template type std::map openedProfileWindows; ^~~ In file included from Swift/Controllers/ShowProfileController.cpp:15:0: /tmp/chat/swift/work/.buildlink/include/boost/bind.hpp:41:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. ) ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from ./Swiften/Base/API.h:10, from ./Swiften/JID/JID.h:12, from Swift/Controllers/ShowProfileController.h:9, from Swift/Controllers/ShowProfileController.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast [-Wold-style-cast] , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept/assert.hpp:35:0, from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from Swift/Controllers/ShowProfileController.cpp:16: /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint::failed()': /tmp/chat/swift/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast [-Wold-style-cast] static void failed() { ((Model*)0)->constraints(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/concept_check.hpp:31:0, from /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:19, from /tmp/chat/swift/work/.buildlink/include/boost/range/size_type.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/size.hpp:21, from /tmp/chat/swift/work/.buildlink/include/boost/range/functions.hpp:20, from /tmp/chat/swift/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /tmp/chat/swift/work/.buildlink/include/boost/algorithm/string/replace.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/date_facet.hpp:17, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/gregorian/gregorian.hpp:31, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/time_formatters.hpp:12, from /tmp/chat/swift/work/.buildlink/include/boost/date_time/posix_time/posix_time.hpp:24, from Swift/Controllers/ShowProfileController.cpp:16: /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements::~usage_requirements()': /tmp/chat/swift/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast [-Wold-style-cast] ~usage_requirements() { ((Model*)0)->~Model(); } ^ In file included from /tmp/chat/swift/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23:0, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/arg.hpp:25, from /tmp/chat/swift/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13, from /tmp/chat/swift/work/.buildlink/include/boost/filesystem/path.hpp:29, from ./Swiften/Base/ByteArray.h:13, from ./Swiften/Elements/VCard.h:15, from Swift/Controllers/ShowProfileController.h:10, from Swift/Controllers/ShowProfileController.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp: At global scope: /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp:147:7: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((boost::is_integral)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast [-Wold-style-cast] >::************)) 0 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/iterator/iterator_concepts.hpp:148:7: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' BOOST_MPL_ASSERT_RELATION(std::numeric_limits::is_signed, ==, true); ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:300:54: warning: use of old-style cast [-Wold-style-cast] boost::mpl::assert_arg( (void (*) pred)0, 1 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:188:13: note: in expansion of macro 'BOOST_MPL_ASSERT' BOOST_MPL_ASSERT((is_integral)); ^~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast [-Wold-style-cast] >::************)) 0 ) \ ^ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /tmp/chat/swift/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/chat/swift/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' BOOST_MPL_ASSERT_RELATION(std::numeric_limits::is_signed, ==, true); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/chat/swift/work/.buildlink/include/boost/config.hpp:61:0, from ./Swiften/Base/API.h:10, from ./Swiften/JID/JID.h:12, from Swift/Controllers/ShowProfileController.h:9, from Swift/Controllers/ShowProfileController.cpp:13: /tmp/chat/swift/work/.buildlink/include/boost/utility/base_from_member.hpp:136:63: warning: use of old-style cast [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ In file included from ./Swiften/Base/foreach.h:9:0, from Swift/Controllers/ShowProfileController.cpp:18: Swift/Controllers/ShowProfileController.cpp: In destructor 'Swift::ShowProfileController::~ShowProfileController()': Swift/Controllers/ShowProfileController.cpp:34:50: error: 'openedProfileWindows' was not declared in this scope foreach(const JIDProfileWindowPair& jidWndPair, openedProfileWindows) { ^ /tmp/chat/swift/work/.buildlink/include/boost/foreach.hpp:946:6: note: in definition of macro 'BOOST_FOREACH_EVALUATE' (COL) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/foreach.hpp:1107:77: note: in expansion of macro 'BOOST_FOREACH_CONTAIN' if (boost::foreach_detail_::auto_any_t BOOST_FOREACH_ID(_foreach_col) = BOOST_FOREACH_CONTAIN(COL)) {} else \ ^~~~~~~~~~~~~~~~~~~~~ ./Swiften/Base/foreach.h:12:17: note: in expansion of macro 'BOOST_FOREACH' #define foreach BOOST_FOREACH ^~~~~~~~~~~~~ Swift/Controllers/ShowProfileController.cpp:34:2: note: in expansion of macro 'foreach' foreach(const JIDProfileWindowPair& jidWndPair, openedProfileWindows) { ^ Swift/Controllers/ShowProfileController.cpp:34:50: note: suggested alternative: 'ProfileWindow' foreach(const JIDProfileWindowPair& jidWndPair, openedProfileWindows) { ^ /tmp/chat/swift/work/.buildlink/include/boost/foreach.hpp:946:6: note: in definition of macro 'BOOST_FOREACH_EVALUATE' (COL) ^~~ /tmp/chat/swift/work/.buildlink/include/boost/foreach.hpp:1107:77: note: in expansion of macro 'BOOST_FOREACH_CONTAIN' if (boost::foreach_detail_::auto_any_t BOOST_FOREACH_ID(_foreach_col) = BOOST_FOREACH_CONTAIN(COL)) {} else \ ^~~~~~~~~~~~~~~~~~~~~ ./Swiften/Base/foreach.h:12:17: note: in expansion of macro 'BOOST_FOREACH' #define foreach BOOST_FOREACH ^~~~~~~~~~~~~ Swift/Controllers/ShowProfileController.cpp:34:2: note: in expansion of macro 'foreach' foreach(const JIDProfileWindowPair& jidWndPair, openedProfileWindows) { ^ Swift/Controllers/ShowProfileController.cpp: In member function 'void Swift::ShowProfileController::handleUIEvent(Swift::UIEvent::ref)': Swift/Controllers/ShowProfileController.cpp:49:6: error: 'openedProfileWindows' was not declared in this scope if (openedProfileWindows.find(showProfileEvent->getJID()) == openedProfileWindows.end()) { ^~~~~~~~~~~~~~~~~~~~ Swift/Controllers/ShowProfileController.cpp:49:6: note: suggested alternative: 'ProfileWindow' if (openedProfileWindows.find(showProfileEvent->getJID()) == openedProfileWindows.end()) { ^~~~~~~~~~~~~~~~~~~~ ProfileWindow Swift/Controllers/ShowProfileController.cpp: In member function 'void Swift::ShowProfileController::handleVCardChanged(const Swift::JID&, Swift::VCard::ref)': Swift/Controllers/ShowProfileController.cpp:67:6: error: 'openedProfileWindows' was not declared in this scope if (openedProfileWindows.find(jid) == openedProfileWindows.end()) { ^~~~~~~~~~~~~~~~~~~~ Swift/Controllers/ShowProfileController.cpp:67:6: note: suggested alternative: 'ProfileWindow' if (openedProfileWindows.find(jid) == openedProfileWindows.end()) { ^~~~~~~~~~~~~~~~~~~~ ProfileWindow Swift/Controllers/ShowProfileController.cpp:71:33: error: 'openedProfileWindows' was not declared in this scope ProfileWindow* profileWindow = openedProfileWindows[jid]; ^~~~~~~~~~~~~~~~~~~~ Swift/Controllers/ShowProfileController.cpp:71:33: note: suggested alternative: 'ProfileWindow' ProfileWindow* profileWindow = openedProfileWindows[jid]; ^~~~~~~~~~~~~~~~~~~~ ProfileWindow Swift/Controllers/ShowProfileController.cpp: In member function 'void Swift::ShowProfileController::handleProfileWindowAboutToBeClosed(const Swift::JID&)': Swift/Controllers/ShowProfileController.cpp:78:2: error: 'openedProfileWindows' was not declared in this scope openedProfileWindows.erase(profileJid); ^~~~~~~~~~~~~~~~~~~~ Swift/Controllers/ShowProfileController.cpp:78:2: note: suggested alternative: 'ProfileWindow' openedProfileWindows.erase(profileJid); ^~~~~~~~~~~~~~~~~~~~ ProfileWindow scons: *** [Swift/Controllers/ShowProfileController.o] Error 1 scons: building terminated because of errors. *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/chat/swift *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/chat/swift