Remove deprecated file 'asio/impl/src.cpp'.

This commit is contained in:
Christopher Kohlhoff 2021-01-15 18:23:02 +11:00
parent 77ed33821d
commit 9995748ebc
3 changed files with 1 additions and 27 deletions

View File

@ -399,7 +399,7 @@ sub copy_include_files
foreach my $dir (@dirs)
{
our $boost_dir;
my @files = ( glob("$dir/*.hpp"), glob("$dir/*.ipp"), glob("$dir/*cpp") );
my @files = ( glob("$dir/*.hpp"), glob("$dir/*.ipp") );
foreach my $file (@files)
{
if ($file ne "include/asio/thread.hpp"

View File

@ -375,7 +375,6 @@ nobase_include_HEADERS = \
asio/impl/serial_port_base.hpp \
asio/impl/serial_port_base.ipp \
asio/impl/spawn.hpp \
asio/impl/src.cpp \
asio/impl/src.hpp \
asio/impl/system_context.hpp \
asio/impl/system_context.ipp \

View File

@ -1,25 +0,0 @@
//
// impl/src.cpp
// ~~~~~~~~~~~~
//
// Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#if defined(_MSC_VER) \
|| (defined(__BORLANDC__) && !defined(__clang__)) \
|| defined(__DMC__)
# pragma message ( \
"This file is deprecated. " \
"Please #include <asio/impl/src.hpp> instead.")
#elif defined(__GNUC__) \
|| defined(__HP_aCC) \
|| defined(__SUNPRO_CC) \
|| defined(__IBMCPP__)
# warning "This file is deprecated."
# warning "Please #include <asio/impl/src.hpp> instead."
#endif
#include "asio/impl/src.hpp"