How to avoid this warning at /usr/include/c++/10/bits/stl_uninitialized.h:84:9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Good morning.

I'm working with gcc (Raspbian 10.2.1-6+rpi1) 10.2.1 20210110 and boost 1.75.0 and CMake

When I compile some sources I get this warning


/usr/include/c++/10/bits/stl_uninitialized.h:84:9: note: parameter passing for argument of type ‘std::move_iterator<boost::asio::detail::timer_queue<boost::asio::detail::chrono_time_traits<std::chrono::_V2::steady_clock, boost::asio::wait_traits<std::chrono::_V2::steady_clock> > >::heap_entry*>’ changed in GCC 7.1

It is tedious to see this every time.


How can I avoid this?


I set(CXX_STANDARD 11) in CMakeLists.txt


Thanks all

MZ




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux