* gil:
thanks for reporting those. For avoidance of doubt, would you please provide the exact compiler version and command line which generated those warnings ?
sure
* on linux x86_64 with clang++ 5.0.2:
clang++ -c -g3 -Wall -Wextra -Wnon-virtual-dtor
-Werror=delete-non-virtual-dtor -pipe -march=native -std=c++14 -o
file.o file.cpp
In file included from
/softs/lin64-clang-5.0.2/debug/boost/include/boost/gil/extension/io/jpeg.hpp:22:
In file included from
/softs/lin64-clang-5.0.2/debug/boost/include/boost/gil/extension/io/jpeg/read.hpp:24:
In file included from
/softs/lin64-clang-5.0.2/debug/boost/include/boost/gil/extension/io/jpeg/tags.hpp:45:
In file included from
/softs/lin64-clang-5.0.2/debug/boost/include/boost/gil/io/base.hpp:34:
In file included from
/softs/lin64-clang-5.0.2/debug/boost/include/boost/gil/extension/toolbox/toolbox.hpp:24:
In file included from
/softs/lin64-clang-5.0.2/debug/boost/include/boost/gil/extension/toolbox/image_types.hpp:22:
/softs/lin64-clang-5.0.2/debug/boost/include/boost/gil/extension/toolbox/image_types/indexed_image.hpp:190:5:
warning: 'const' type qualifier on return type has no effect
[-Wignored-qualifiers]
const std::size_t num_colors() const { return _num_colors; }
^~~~~~
In file included from Tools/Bitmap.cpp:10:
In file included from
/softs/lin64-clang-5.0.2/debug/boost/include/boost/gil/extension/io/jpeg.hpp:22:
In file included from
/softs/lin64-clang-5.0.2/debug/boost/include/boost/gil/extension/io/jpeg/read.hpp:24:
In file included from
/softs/lin64-clang-5.0.2/debug/boost/include/boost/gil/extension/io/jpeg/tags.hpp:45:
In file included from
/softs/lin64-clang-5.0.2/debug/boost/include/boost/gil/io/base.hpp:34:
In file included from
/softs/lin64-clang-5.0.2/debug/boost/include/boost/gil/extension/toolbox/toolbox.hpp:25:
In file included from
/softs/lin64-clang-5.0.2/debug/boost/include/boost/gil/extension/toolbox/metafunctions.hpp:22:
In file included from
/softs/lin64-clang-5.0.2/debug/boost/include/boost/gil/extension/toolbox/metafunctions/channel_type.hpp:29:
In file included from
/softs/lin64-clang-5.0.2/debug/boost/include/boost/gil/extension/toolbox/dynamic_images.hpp:27:
In file included from
/softs/lin64-clang-5.0.2/debug/boost/include/boost/gil/extension/dynamic_image/dynamic_image_all.hpp:26:
In file included from
/softs/lin64-clang-5.0.2/debug/boost/include/boost/gil/extension/dynamic_image/algorithm.hpp:16:
In file included from
/softs/lin64-clang-5.0.2/debug/boost/include/boost/gil/extension/dynamic_image/any_image.hpp:24:
/softs/lin64-clang-5.0.2/debug/boost/include/boost/gil/extension/dynamic_image/any_image_view.hpp:41:63:
warning: unused parameter 'v' [-Wunused-parameter]
template <typename T> result_type operator()(const T& v) const
{ return num_channels<T>::value; }
^
In file included from
/softs/lin64-clang-5.0.2/debug/boost/include/boost/gil/extension/io/jpeg.hpp:22:
In file included from
/softs/lin64-clang-5.0.2/debug/boost/include/boost/gil/extension/io/jpeg/read.hpp:24:
In file included from
/softs/lin64-clang-5.0.2/debug/boost/include/boost/gil/extension/io/jpeg/tags.hpp:45:
In file included from
/softs/lin64-clang-5.0.2/debug/boost/include/boost/gil/io/base.hpp:34:
In file included from
/softs/lin64-clang-5.0.2/debug/boost/include/boost/gil/extension/toolbox/toolbox.hpp:25:
In file included from
/softs/lin64-clang-5.0.2/debug/boost/include/boost/gil/extension/toolbox/metafunctions.hpp:22:
In file included from
/softs/lin64-clang-5.0.2/debug/boost/include/boost/gil/extension/toolbox/metafunctions/channel_type.hpp:29:
In file included from
/softs/lin64-clang-5.0.2/debug/boost/include/boost/gil/extension/toolbox/dynamic_images.hpp:27:
In file included from
/softs/lin64-clang-5.0.2/debug/boost/include/boost/gil/extension/dynamic_image/dynamic_image_all.hpp:26:
/softs/lin64-clang-5.0.2/debug/boost/include/boost/gil/extension/dynamic_image/algorithm.hpp:147:70:
warning: unused parameter 'src' [-Wunused-parameter]
template