From a6d1b303b36a8a9f7db1afbd5e650181d849d3cc Mon Sep 17 00:00:00 2001 From: Kohei Takahashi Date: Wed, 9 Sep 2015 13:35:03 +0900 Subject: [PATCH 1/2] Fix block comment style. Intel Compiler warns on nested comment. --- include/boost/fusion/algorithm/transformation/flatten.hpp | 4 ++-- include/boost/fusion/view/flatten_view.hpp | 4 ++-- include/boost/fusion/view/flatten_view/flatten_view.hpp | 4 ++-- .../boost/fusion/view/flatten_view/flatten_view_iterator.hpp | 4 ++-- test/algorithm/flatten.cpp | 4 ++-- test/sequence/flatten_view.cpp | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/include/boost/fusion/algorithm/transformation/flatten.hpp b/include/boost/fusion/algorithm/transformation/flatten.hpp index e3cfa983..43ac34df 100644 --- a/include/boost/fusion/algorithm/transformation/flatten.hpp +++ b/include/boost/fusion/algorithm/transformation/flatten.hpp @@ -1,9 +1,9 @@ -/*////////////////////////////////////////////////////////////////////////////// +/*============================================================================== Copyright (c) 2013 Jamboree 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) -//////////////////////////////////////////////////////////////////////////////*/ +==============================================================================*/ #ifndef BOOST_FUSION_ALGORITHM_FLATTEN_HPP_INCLUDED #define BOOST_FUSION_ALGORITHM_FLATTEN_HPP_INCLUDED diff --git a/include/boost/fusion/view/flatten_view.hpp b/include/boost/fusion/view/flatten_view.hpp index dcef08de..25428544 100644 --- a/include/boost/fusion/view/flatten_view.hpp +++ b/include/boost/fusion/view/flatten_view.hpp @@ -1,9 +1,9 @@ -/*////////////////////////////////////////////////////////////////////////////// +/*============================================================================== Copyright (c) 2013 Jamboree 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) -//////////////////////////////////////////////////////////////////////////////*/ +==============================================================================*/ #ifndef BOOST_FUSION_SEQUENCE_FLATTEN_VIEW_HPP_INCLUDED #define BOOST_FUSION_SEQUENCE_FLATTEN_VIEW_HPP_INCLUDED diff --git a/include/boost/fusion/view/flatten_view/flatten_view.hpp b/include/boost/fusion/view/flatten_view/flatten_view.hpp index 8e40158d..401f65dc 100644 --- a/include/boost/fusion/view/flatten_view/flatten_view.hpp +++ b/include/boost/fusion/view/flatten_view/flatten_view.hpp @@ -1,9 +1,9 @@ -/*////////////////////////////////////////////////////////////////////////////// +/*============================================================================== Copyright (c) 2013 Jamboree 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) -//////////////////////////////////////////////////////////////////////////////*/ +==============================================================================*/ #ifndef BOOST_FUSION_FLATTEN_VIEW_HPP_INCLUDED #define BOOST_FUSION_FLATTEN_VIEW_HPP_INCLUDED diff --git a/include/boost/fusion/view/flatten_view/flatten_view_iterator.hpp b/include/boost/fusion/view/flatten_view/flatten_view_iterator.hpp index 1ecf6928..be115d91 100644 --- a/include/boost/fusion/view/flatten_view/flatten_view_iterator.hpp +++ b/include/boost/fusion/view/flatten_view/flatten_view_iterator.hpp @@ -1,9 +1,9 @@ -/*////////////////////////////////////////////////////////////////////////////// +/*============================================================================== Copyright (c) 2013 Jamboree 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) -//////////////////////////////////////////////////////////////////////////////*/ +==============================================================================*/ #ifndef BOOST_FUSION_FLATTEN_VIEW_ITERATOR_HPP_INCLUDED #define BOOST_FUSION_FLATTEN_VIEW_ITERATOR_HPP_INCLUDED diff --git a/test/algorithm/flatten.cpp b/test/algorithm/flatten.cpp index 28d6359f..ddc71006 100644 --- a/test/algorithm/flatten.cpp +++ b/test/algorithm/flatten.cpp @@ -1,9 +1,9 @@ -/*////////////////////////////////////////////////////////////////////////////// +/*============================================================================== Copyright (c) 2013 Jamboree 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) -//////////////////////////////////////////////////////////////////////////////*/ +==============================================================================*/ #include #include #include diff --git a/test/sequence/flatten_view.cpp b/test/sequence/flatten_view.cpp index f24c1d95..da8e6527 100644 --- a/test/sequence/flatten_view.cpp +++ b/test/sequence/flatten_view.cpp @@ -1,9 +1,9 @@ -/*////////////////////////////////////////////////////////////////////////////// +/*============================================================================== Copyright (c) 2013 Jamboree 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) -//////////////////////////////////////////////////////////////////////////////*/ +==============================================================================*/ #include #include #include From cbd2e1dc1d43a73c9fb159ec1c760502dbb88f85 Mon Sep 17 00:00:00 2001 From: Kohei Takahashi Date: Wed, 9 Sep 2015 18:05:04 +0900 Subject: [PATCH 2/2] Suppress unused warning. --- test/algorithm/pop_back.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test/algorithm/pop_back.cpp b/test/algorithm/pop_back.cpp index 5e45e779..fcb5b75c 100644 --- a/test/algorithm/pop_back.cpp +++ b/test/algorithm/pop_back.cpp @@ -88,6 +88,7 @@ main() auto i1 = find(popv); auto i2 = find(pop); + (void)push; BOOST_TEST(i1 != end(pop)); BOOST_TEST(i2 != end(pop)); BOOST_TEST(i1 != i2);