diff --git a/include/boost/functional/hash/deque.hpp b/include/boost/functional/hash/deque.hpp index 4503941..741fa0e 100644 --- a/include/boost/functional/hash/deque.hpp +++ b/include/boost/functional/hash/deque.hpp @@ -1,5 +1,5 @@ -// Copyright 2005-2006 Daniel James. +// Copyright 2005-2007 Daniel James. // 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) @@ -14,8 +14,12 @@ # pragma once #endif +#if defined(_MSC_VER) +#pragma message("Warning: boost/functional/hash/deque.hpp is deprecated, use boost/functional/hash.hpp instead.") +#else #warning "boost/functional/hash/deque.hpp is deprecated, use boost/functional/hash.hpp instead." +#endif + #include #endif - diff --git a/include/boost/functional/hash/list.hpp b/include/boost/functional/hash/list.hpp index 80e0932..2870c60 100644 --- a/include/boost/functional/hash/list.hpp +++ b/include/boost/functional/hash/list.hpp @@ -1,5 +1,5 @@ -// Copyright 2005-2006 Daniel James. +// Copyright 2005-2007 Daniel James. // 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) @@ -14,8 +14,12 @@ # pragma once #endif +#if defined(_MSC_VER) +#pragma message("Warning: boost/functional/hash/list.hpp is deprecated, use boost/functional/hash.hpp instead.") +#else #warning "boost/functional/hash/list.hpp is deprecated, use boost/functional/hash.hpp instead." +#endif + #include #endif - diff --git a/include/boost/functional/hash/map.hpp b/include/boost/functional/hash/map.hpp index 34cd7eb..e62f19a 100644 --- a/include/boost/functional/hash/map.hpp +++ b/include/boost/functional/hash/map.hpp @@ -1,5 +1,5 @@ -// Copyright 2005-2006 Daniel James. +// Copyright 2005-2007 Daniel James. // 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) @@ -14,9 +14,12 @@ # pragma once #endif +#if defined(_MSC_VER) +#pragma message("Warning: boost/functional/hash/map.hpp is deprecated, use boost/functional/hash.hpp instead.") +#else #warning "boost/functional/hash/map.hpp is deprecated, use boost/functional/hash.hpp instead." +#endif + #include #endif - - diff --git a/include/boost/functional/hash/pair.hpp b/include/boost/functional/hash/pair.hpp index 69a5483..bd29478 100644 --- a/include/boost/functional/hash/pair.hpp +++ b/include/boost/functional/hash/pair.hpp @@ -1,5 +1,5 @@ -// Copyright 2005-2006 Daniel James. +// Copyright 2005-2007 Daniel James. // 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) @@ -14,7 +14,12 @@ # pragma once #endif +#if defined(_MSC_VER) +#pragma message("Warning: boost/functional/hash/pair.hpp is deprecated, use boost/functional/hash.hpp instead.") +#else #warning "boost/functional/hash/pair.hpp is deprecated, use boost/functional/hash.hpp instead." +#endif + #include #endif diff --git a/include/boost/functional/hash/set.hpp b/include/boost/functional/hash/set.hpp index 9a7f866..8abe096 100644 --- a/include/boost/functional/hash/set.hpp +++ b/include/boost/functional/hash/set.hpp @@ -1,5 +1,5 @@ -// Copyright 2005-2006 Daniel James. +// Copyright 2005-2007 Daniel James. // 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) @@ -14,8 +14,12 @@ # pragma once #endif +#if defined(_MSC_VER) +#pragma message("Warning: boost/functional/hash/set.hpp is deprecated, use boost/functional/hash.hpp instead.") +#else #warning "boost/functional/hash/set.hpp is deprecated, use boost/functional/hash.hpp instead." +#endif + #include #endif - diff --git a/include/boost/functional/hash/vector.hpp b/include/boost/functional/hash/vector.hpp index 298b9ef..3a71e6e 100644 --- a/include/boost/functional/hash/vector.hpp +++ b/include/boost/functional/hash/vector.hpp @@ -1,5 +1,5 @@ -// Copyright 2005-2006 Daniel James. +// Copyright 2005-2007 Daniel James. // 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) @@ -14,7 +14,12 @@ # pragma once #endif +#if defined(_MSC_VER) +#pragma message("Warning: boost/functional/hash/vector.hpp is deprecated, use boost/functional/hash.hpp instead.") +#else #warning "boost/functional/hash/vector.hpp is deprecated, use boost/functional/hash.hpp instead." +#endif + #include #endif