Re: [boost] [Boost-users] [release] Boost 1.68.0 Beta 1 -> warnings in gil, locale, geometry, asio, ublas, interprocess, atomic
Here are some more warnings while using the libraries: * gil: boost/gil/extension/toolbox/image_types/indexed_image.hpp:190:5: warning: les qualificatifs de type sont ignorés sur le type retourné par la fonction [-Wignored-qualifiers] const std::size_t num_colors() const { return _num_colors; } ^~~~~ 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; } boost/gil/extension/dynamic_image/algorithm.hpp:147:70: warning: unused parameter 'src' [-Wunused-parameter] template <typename V, typename Value> static void apply(const V& src, const Value& val) { throw std::bad_cast();} ^ boost/gil/extension/dynamic_image/algorithm.hpp:147:88: warning: unused parameter 'val' [-Wunused-parameter] template <typename V, typename Value> static void apply(const V& src, const Value& val) { throw std::bad_cast();} ^ boost/gil/extension/dynamic_image/image_view_factory.hpp:178:140: warning: unused parameter 'cc' [-Wunused-parameter] typename color_converted_view_type<any_image_view<ViewTypes>, DstP, CC>::type color_converted_view(const any_image_view<ViewTypes>& src,CC cc) {~ ^ boost/gil/extension/dynamic_image/image_view_factory.hpp:201:144: warning: unused parameter 'cc' [-Wunused-parameter] typename color_converted_view_type<any_image_view<ViewTypes>, DstP, CC>::type any_color_converted_view(const any_image_view<ViewTypes>& src,CC cc) {~ ^ boost/gil/io/device.hpp:446:31: warning: unused parameter 'data' [-Wunused-parameter] void write( const byte_t* data ^ boost/gil/io/device.hpp:447:31: warning: unused parameter 'count' [-Wunused-parameter] , std::size_t count ) ^ boost/gil/io/device.hpp:471:35: warning: unused parameter 'data' [-Wunused-parameter] std::size_t read( byte_t* data ^ boost/gil/io/device.hpp:472:35: warning: unused parameter 'count' [-Wunused-parameter] , std::size_t count ) ^ * locale: boost/locale/utf.hpp:224:17: warning: cette instruction peut poursuivre son chemin [-Wimplicit-fallthrough=] c = (c << 6) | ( tmp & 0x3F); ^ boost/locale/utf.hpp:225:13: note: ici case 2: ^~~~ boost/locale/utf.hpp:231:17: warning: cette instruction peut poursuivre son chemin [-Wimplicit-fallthrough=] c = (c << 6) | ( tmp & 0x3F); ^ boost/locale/utf.hpp:232:13: note: ici case 1: ^~~~ * geometry: boost/geometry/formulas/vertex_longitude.hpp:340:32: warning: unused parameter 'lon1' [-Wunused-parameter] static inline CT apply(CT& lon1, ^ boost/geometry/formulas/vertex_longitude.hpp:341:32: warning: unused parameter 'lat1' [-Wunused-parameter] CT& lat1, ^ boost/geometry/formulas/vertex_longitude.hpp:343:32: warning: unused parameter 'lat2' [-Wunused-parameter] CT& lat2, ^ boost/geometry/formulas/vertex_longitude.hpp:344:38: warning: unused parameter 'vertex_lat' [-Wunused-parameter] CT const& vertex_lat, ^ boost/geometry/formulas/vertex_longitude.hpp:345:32: warning: unused parameter 'alp1' [-Wunused-parameter] CT& alp1, ^ boost/geometry/formulas/vertex_longitude.hpp:346:44: warning: unused parameter 'azimuth_strategy' [-Wunused-parameter] Strategy const& azimuth_strategy) ^ boost/geometry/strategies/spherical/intersection.hpp:544:81: warning: unused parameter 'b2' [-Wunused-parameter] Point2 const& b1, Point2 const& b2, // in ^ boost/geometry/algorithms/detail/envelope/segment.hpp:156:61: warning: unused parameter 'lon1' [-Wunused-parameter] static inline void compute_box_corners(CalculationType& lon1, ^ boost/geometry/algorithms/detail/envelope/segment.hpp:158:61: warning: unused parameter 'lon2' [-Wunused-parameter] CalculationType& lon2, ^ boost/geometry/strategies/spherical/intersection.hpp:544:81: warning: unused parameter 'b2' [-Wunused-parameter] Point2 const& b1, Point2 const& b2, // in ^ * asio (windows 32 and 64 bits with mingw w64 + g++ 8.2.0) : /softs/win32-mingw-8.2.0/release/boost/include/boost/asio/detail/impl/win_iocp_socket_service_base.ipp: Dans la fonction membre « boost::system::error_code boost::asio::detail::win_iocp_socket_service_base::cancel(boost::asio::> /softs/win32-mingw-8.2.0/release/boost/include/boost/asio/detail/impl/win_iocp_socket_service_base.ipp:253:51: warning: transtypage entre types de fonctions incompatibles de « FARPROC » {aka « int (__attribute__((stdcall)) *)()> cancel_io_ex_t cancel_io_ex = (cancel_io_ex_t)cancel_io_ex_ptr; ^~~~~~~~~~~~~~~~ * ublas: /softs/lin64-gcc-8.2.0/debug/boost/include/boost/numeric/ublas/matrix_expression.hpp:2224:17: warning: cette instruction « if » ne protège pas… [-Wmisleading-indentation] if (it2_ != it2_end_) ^~ /softs/lin64-gcc-8.2.0/debug/boost/include/boost/numeric/ublas/matrix_expression.hpp:2227:21: note: …cette instruction, mais l'indentation de cette dernière est trompeuse car elle fait croire qu'elle est gardée par le « if » if (it2_ != it2_end_) { ^~ boost/numeric/ublas/functional.hpp:1673:57: warning: unused parameter 'size_i' [-Wunused-parameter] size_type upper_element (size_type i, size_type size_i, size_type j, size_type size_j) { ^ boost/numeric/ublas/functional.hpp:1673:88: warning: unused parameter 'size_j' [-Wunused-parameter] size_type upper_element (size_type i, size_type size_i, size_type j, size_type size_j) { ^ * interprocess (windows mingw-w64 + g++ 8.2.0 32/64 bits): In file included from boost/interprocess/errors.hpp:41, from boost/interprocess/exceptions.hpp:24, from boost/interprocess/sync/file_lock.hpp:24, from Progs/delypse-transfer.cpp:32: boost/interprocess/detail/win32_api.hpp:189:8: warning: « struct boost::interprocess::winapi::IUnknown_BIPC » a des fonctions virtuelles et un destructeur non virtuel accessible [-Wnon-virtual-dtor] struct IUnknown_BIPC ^~~~~~~~~~~~~ boost/interprocess/detail/win32_api.hpp:200:8: warning: la classe de base « struct boost::interprocess::winapi::IUnknown_BIPC » a un destructeur non virtuel accessible [-Wnon-virtual-dtor] struct IWbemClassObject_BIPC : public IUnknown_BIPC ^~~~~~~~~~~~~~~~~~~~~ boost/interprocess/detail/win32_api.hpp:200:8: warning: « struct boost::interprocess::winapi::IWbemClassObject_BIPC » a des fonctions virtuelles et un destructeur non virtuel accessible [-Wnon-virtual-dtor] boost/interprocess/detail/win32_api.hpp:306:8: warning: la classe de base « struct boost::interprocess::winapi::IUnknown_BIPC » a un destructeur non virtuel accessible [-Wnon-virtual-dtor] struct IWbemContext_BIPC : public IUnknown_BIPC ^~~~~~~~~~~~~~~~~ boost/interprocess/detail/win32_api.hpp:306:8: warning: « struct boost::interprocess::winapi::IWbemContext_BIPC » a des fonctions virtuelles et un destructeur non virtuel accessible [-Wnon-virtual-dtor] boost/interprocess/detail/win32_api.hpp:345:8: warning: la classe de base « struct boost::interprocess::winapi::IUnknown_BIPC » a un destructeur non virtuel accessible [-Wnon-virtual-dtor] struct IEnumWbemClassObject_BIPC : public IUnknown_BIPC ^~~~~~~~~~~~~~~~~~~~~~~~~ boost/interprocess/detail/win32_api.hpp:345:8: warning: « struct boost::interprocess::winapi::IEnumWbemClassObject_BIPC » a des fonctions virtuelles et un destructeur non virtuel accessible [-Wnon-virtual-dtor] boost/interprocess/detail/win32_api.hpp:369:8: warning: la classe de base « struct boost::interprocess::winapi::IUnknown_BIPC » a un destructeur non virtuel accessible [-Wnon-virtual-dtor] struct IWbemServices_BIPC : public IUnknown_BIPC ^~~~~~~~~~~~~~~~~~ boost/interprocess/detail/win32_api.hpp:369:8: warning: « struct boost::interprocess::winapi::IWbemServices_BIPC » a des fonctions virtuelles et un destructeur non virtuel accessible [-Wnon-virtual-dtor] boost/interprocess/detail/win32_api.hpp:518:8: warning: la classe de base « struct boost::interprocess::winapi::IUnknown_BIPC » a un destructeur non virtuel accessible [-Wnon-virtual-dtor] struct IWbemLocator_BIPC : public IUnknown_BIPC ^~~~~~~~~~~~~~~~~ boost/interprocess/detail/win32_api.hpp:518:8: warning: « struct boost::interprocess::winapi::IWbemLocator_BIPC » a des fonctions virtuelles et un destructeur non virtuel accessible [-Wnon-virtual-dtor] In file included from boost/interprocess/errors.hpp:41, from boost/interprocess/exceptions.hpp:24, from boost/interprocess/sync/file_lock.hpp:24, from Progs/delypse-transfer.cpp:32: boost/interprocess/detail/win32_api.hpp: Dans la fonction « bool boost::interprocess::winapi::get_system_time_of_day_information(boost::interprocess::winapi::system_timeofday_information&) »: boost/interprocess/detail/win32_api.hpp:1676:58: warning: transtypage entre types de fonctions incompatibles de « boost::interprocess::winapi::farproc_t » {aka « int (__attribute__((stdcall)) *)() »} vers « boost::interprocess:> dll_func::get(dll_func::NtQuerySystemInformation); ^ boost/interprocess/detail/win32_api.hpp: Dans la fonction « bool boost::interprocess::winapi::unlink_file(const char*) »: boost/interprocess/detail/win32_api.hpp:1892:78: warning: transtypage entre types de fonctions incompatibles de « boost::interprocess::winapi::farproc_t » {aka « int (__attribute__((stdcall)) *)() »} vers « boost::interprocess:> (NtSetInformationFile_t)dll_func::get(dll_func::NtSetInformationFile); ^ boost/interprocess/detail/win32_api.hpp:1894:94: warning: transtypage entre types de fonctions incompatibles de « boost::interprocess::winapi::farproc_t » {aka « int (__attribute__((stdcall)) *)() »} vers « boost::interprocess:> NtQueryObject_t pNtQueryObject = (NtQueryObject_t)dll_func::get(dll_func::NtQueryObject); ^ boost/interprocess/detail/win32_api.hpp:1966:85: warning: transtypage entre types de fonctions incompatibles de « boost::interprocess::winapi::farproc_t » {aka « int (__attribute__((stdcall)) *)() »} vers « boost::interprocess:> NtOpenFile_t pNtOpenFile = (NtOpenFile_t)dll_func::get(dll_func::NtOpenFile); ^ boost/interprocess/detail/win32_api.hpp:1967:73: warning: transtypage entre types de fonctions incompatibles de « boost::interprocess::winapi::farproc_t » {aka « int (__attribute__((stdcall)) *)() »} vers « boost::interprocess:> NtClose_t pNtClose = (NtClose_t)dll_func::get(dll_func::NtClose); ^ boost/interprocess/detail/win32_api.hpp: Dans la fonction « bool boost::interprocess::winapi::get_file_mapping_size(void*, long long int&) »: boost/interprocess/detail/win32_api.hpp:2413:63: warning: transtypage entre types de fonctions incompatibles de « boost::interprocess::winapi::farproc_t » {aka « int (__attribute__((stdcall)) *)() »} vers « boost::interprocess:> (NtQuerySection_t)dll_func::get(dll_func::NtQuerySection); ^ boost/interprocess/detail/win32_api.hpp: Dans la fonction « bool boost::interprocess::winapi::get_semaphore_info(void*, long int&, long int&) »: boost/interprocess/detail/win32_api.hpp:2426:86: warning: transtypage entre types de fonctions incompatibles de « boost::interprocess::winapi::farproc_t » {aka « int (__attribute__((stdcall)) *)() »} vers « boost::interprocess:> (winapi::NtQuerySemaphore_t)dll_func::get(winapi::dll_func::NtQuerySemaphore); ^ boost/interprocess/detail/win32_api.hpp: Dans la fonction « bool boost::interprocess::winapi::query_timer_resolution(long unsigned int*, long unsigned int*, long unsigned int*) »: boost/interprocess/detail/win32_api.hpp:2437:98: warning: transtypage entre types de fonctions incompatibles de « boost::interprocess::winapi::farproc_t » {aka « int (__attribute__((stdcall)) *)() »} vers « boost::interprocess:> (winapi::NtQueryTimerResolution_t)dll_func::get(winapi::dll_func::NtQueryTimerResolution); ^ boost/interprocess/detail/win32_api.hpp: Dans la fonction « bool boost::interprocess::winapi::query_performance_counter(long long int*) »: boost/interprocess/detail/win32_api.hpp:2444:57: warning: transtypage entre types de fonctions incompatibles de « boost::interprocess::winapi::farproc_t » {aka « int (__attribute__((stdcall)) *)() »} vers « boost::interprocess:> dll_func::get(dll_func::QueryPerformanceCounter); ^ boost/interprocess/detail/win32_api.hpp: Dans la fonction « bool boost::interprocess::winapi::query_performance_frequency(long long int*) »: boost/interprocess/detail/win32_api.hpp:2451:59: warning: transtypage entre types de fonctions incompatibles de « boost::interprocess::winapi::farproc_t » {aka « int (__attribute__((stdcall)) *)() »} vers « boost::interprocess:> dll_func::get(dll_func::QueryPerformanceFrequency); ^ * atomic (OSX): boost/include/boost/atomic/detail/ops_gcc_x86_dcas.hpp:269:113: warning: unused parameter 'order' [-Wunused-parameter] static BOOST_FORCEINLINE storage_type exchange(storage_type volatile& storage, storage_type v, memory_order order) BOOST_NOEXCEPT
Hi Frédéric, [also including the boost-gil list in my reply] On 2018-07-29 04:21 AM, Frédéric via Boost wrote:
Here are some more warnings while using the libraries:
* gil:
[...] thanks for reporting those. For avoidance of doubt, would you please provide the exact compiler version and command line which generated those warnings ? We have been seeing many more warnings with different settings, but most of them are quite tricky to resole, so we haven't done that yet. The ones you post, however, seem trivial enough so I would like to work on a quick fix. Thanks again, Stefan -- ...ich hab' noch einen Koffer in Berlin...
* 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 <typename V, typename Value> static void apply(const V& src, const Value& val) { throw std::bad_cast();} ^ /softs/lin64-clang-5.0.2/debug/boost/include/boost/gil/extension/dynamic_image/algorithm.hpp:147:88: warning: unused parameter 'val' [-Wunused-parameter] template <typename V, typename Value> static void apply(const V& src, const Value& val) { throw std::bad_cast();} 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:30: /softs/lin64-clang-5.0.2/debug/boost/include/boost/gil/extension/dynamic_image/image_view_factory.hpp:178:140: warning: unused parameter 'cc' [-Wunused-parameter] typename color_converted_view_type<any_image_view<ViewTypes>, DstP, CC>::type color_converted_view(const any_image_view<ViewTypes>& src,CC cc) {~ ^ /softs/lin64-clang-5.0.2/debug/boost/include/boost/gil/extension/dynamic_image/image_view_factory.hpp:201:144: warning: unused parameter 'cc' [-Wunused-parameter] typename color_converted_view_type<any_image_view<ViewTypes>, DstP, CC>::type any_color_converted_view(const any_image_view<ViewTypes>& src,CC cc) {~ ^ 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:26: In file included from /softs/lin64-clang-5.0.2/debug/boost/include/boost/gil/extension/io/jpeg/detail/read.hpp:29: /softs/lin64-clang-5.0.2/debug/boost/include/boost/gil/io/device.hpp:446:31: warning: unused parameter 'data' [-Wunused-parameter] void write( const byte_t* data ^ /softs/lin64-clang-5.0.2/debug/boost/include/boost/gil/io/device.hpp:447:31: warning: unused parameter 'count' [-Wunused-parameter] , std::size_t count ) ^ /softs/lin64-clang-5.0.2/debug/boost/include/boost/gil/io/device.hpp:471:35: warning: unused parameter 'data' [-Wunused-parameter] std::size_t read( byte_t* data ^ /softs/lin64-clang-5.0.2/debug/boost/include/boost/gil/io/device.hpp:472:35: warning: unused parameter 'count' [-Wunused-parameter] , std::size_t count ) ^ * on linux x86_64 with g++ 8.2.0: g++-8.2.0 -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-gcc-8.2.0/debug/boost/include/boost/gil/extension/toolbox/image_types.hpp:22, from /softs/lin64-gcc-8.2.0/debug/boost/include/boost/gil/extension/toolbox/toolbox.hpp:24, from /softs/lin64-gcc-8.2.0/debug/boost/include/boost/gil/io/base.hpp:34, from /softs/lin64-gcc-8.2.0/debug/boost/include/boost/gil/extension/io/jpeg/tags.hpp:45, from /softs/lin64-gcc-8.2.0/debug/boost/include/boost/gil/extension/io/jpeg/read.hpp:24, from /softs/lin64-gcc-8.2.0/debug/boost/include/boost/gil/extension/io/jpeg.hpp:22, /softs/lin64-gcc-8.2.0/debug/boost/include/boost/gil/extension/toolbox/image_types/indexed_image.hpp:190:5: warning: les qualificatifs de type sont ignorés sur le type retourné par la fonction [-Wignored-qualifiers] const std::size_t num_colors() const { return _num_colors; } ^~~~~ Kind regards, Frédéric
-----Original Message----- From: Boost [mailto:boost-bounces@lists.boost.org] On Behalf Of Stefan Seefeld via Boost Sent: 29 July 2018 09:49 To: boost@lists.boost.org; boost-gil@lists.boost.org Cc: Stefan Seefeld Subject: Re: [boost] [Boost-users] [release] Boost 1.68.0 Beta 1 -> warnings in gil, locale, geometry, asio, ublas, interprocess, atomic
Hi Frédéric,
[also including the boost-gil list in my reply]
On 2018-07-29 04:21 AM, Frédéric via Boost wrote:
Here are some more warnings while using the libraries:
* gil:
[...]
thanks for reporting those. For avoidance of doubt, would you please provide the exact compiler version and command line which generated those warnings ? We have been seeing many more warnings with different settings, but most of them are quite tricky to resole, so we haven't done that yet. The ones you post, however, seem trivial enough so I would like to work on a quick fix.
You may find this useful https://svn.boost.org/trac10/wiki/Guidelines/WarningsGuidelines and updates to the document from recent and relevant practical experience are also very welcome. (It may be stale info?) You can edit the document yourself or send me suggested edits. We might also re-host this document somewhere on github/boostorg? Views? Paul --- Paul A. Bristow Prizet Farmhouse Kendal UK LA8 8AB +44 (0) 1539 561830
On 07/29/18 11:21, Frédéric via Boost wrote:
Here are some more warnings while using the libraries:
* atomic (OSX):
boost/include/boost/atomic/detail/ops_gcc_x86_dcas.hpp:269:113: warning: unused parameter 'order' [-Wunused-parameter] static BOOST_FORCEINLINE storage_type exchange(storage_type volatile& storage, storage_type v, memory_order order) BOOST_NOEXCEPT
Should be fixed in: https://github.com/boostorg/atomic/commit/19eecf893c665410de63ab6ebb8549f405...
Should be fixed in: https://github.com/boostorg/atomic/commit/19eecf893c665410de63ab6ebb8549f405...
yes it works, thanks, F
Here are some more warnings while using the libraries:
* ublas:
boost/numeric/ublas/functional.hpp:1673:57: warning: unused parameter 'size_i' [-Wunused-parameter] size_type upper_element (size_type i, size_type size_i, size_type j, size_type size_j) { ^ boost/numeric/ublas/functional.hpp:1673:88: warning: unused parameter 'size_j' [-Wunused-parameter] size_type upper_element (size_type i, size_type size_i, size_type j, size_type size_j) {
^
I reported that issue here: https://github.com/boostorg/ublas/issues/55 and I fixed it here: https://github.com/boostorg/ublas/pull/56 CI tests passed. Can someone merge? Thanks
participants (4)
-
Andrey Semashev
-
Frédéric
-
Paul A. Bristow
-
Stefan Seefeld