public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jonathan Wakely <jwakely.gcc@gmail.com>
To: Mauro Ziliani <mauro@faresoftware.it>
Cc: gcc-help@gnu.org
Subject: Re: How to avoid this warning at /usr/include/c++/10/bits/stl_uninitialized.h:84:9
Date: Wed, 9 Feb 2022 20:17:31 +0000	[thread overview]
Message-ID: <CAH6eHdTqSGAb-=f-kUqnbRH1Xps9EfHZv11Bw9C4vid3FFKS0w@mail.gmail.com> (raw)
In-Reply-To: <74633bf8-720c-245b-a3cc-75e6467c145e@faresoftware.it>

On Wed, 9 Feb 2022, 16:32 Mauro Ziliani via Gcc-help, <gcc-help@gcc.gnu.org>
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++.

      reply	other threads:[~2022-02-09 20:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-09 16:22 Mauro Ziliani
2022-02-09 20:17 ` Jonathan Wakely [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH6eHdTqSGAb-=f-kUqnbRH1Xps9EfHZv11Bw9C4vid3FFKS0w@mail.gmail.com' \
    --to=jwakely.gcc@gmail.com \
    --cc=gcc-help@gnu.org \
    --cc=mauro@faresoftware.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).