Re: 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]

 



On Wed, 9 Feb 2022, 16:32 Mauro Ziliani via Gcc-help, <gcc-help@xxxxxxxxxxx>
wrote:

> 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?
>

The documentation for -Wabi in the GCC manual explains this warning.

I set(CXX_STANDARD 11) in CMakeLists.txt
>


That's not very useful information, it tells us nothing about the warning
options you are passing to g++.




[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