From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from fencepost.gnu.org (fencepost.gnu.org [IPv6:2001:470:142:3::e]) by sourceware.org (Postfix) with ESMTPS id B6ECC3858D1E for ; Wed, 9 Feb 2022 20:18:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B6ECC3858D1E Received: from eggs.gnu.org ([209.51.188.92]:47840) by fencepost.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHtQW-0004Oj-QT for gcc-help@gnu.org; Wed, 09 Feb 2022 15:18:56 -0500 Received: from [2a00:1450:4864:20::32e] (port=47033 helo=mail-wm1-x32e.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHtQR-00017Y-5G for gcc-help@gnu.org; Wed, 09 Feb 2022 15:18:54 -0500 Received: by mail-wm1-x32e.google.com with SMTP id l67-20020a1c2546000000b00353951c3f62so2455931wml.5 for ; Wed, 09 Feb 2022 12:17:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6ovOQwPRhyz1+vX6DjHswDimv2m+EdqeddB+wcXwwWg=; b=T5jc3R6vsP37dz7tAMe5QN9XW81qfkIhjihmkZpbfVva9N1bRn9W87z7UA+O+i3vz7 qCglfuAeq/2WvHqjwyhQ2FzSb7hip+f45WlBacLieSOFtJmENfR3cApvKQKWdINtF3TP 2AHNVksJb2O3T3LIXFH2SupnbuT3dEoUMzp85kZBmI3d5hO/SRMn07/rx5xmLrXWUZib B12gttSfNWOv8bxX2X3p0hJCXBh36vXX308JI7XE8tQSGVbksjxgthDHV5L8tH3JVqKF K44AnefhyQDhLcnB15/BQMqqCWTwZnMsm0Q1jeuLM6Bu9D1USQN2udneOXZFAdWmB3Fi 6ulQ== X-Gm-Message-State: AOAM5303POVhFZxxOlVi6UWPK/3XJHHPDci/IDSNtz35De9quycVBDsu K749G60N41arXHRhFT/5RH2akRJACN2MM1DLdDg= X-Google-Smtp-Source: ABdhPJz2qBOIM5lIrBP+rIBi2fldX0aFRaSBJYvSNoNGPCA57nwKyAYooBb3nDf+/irib1XmnEvk6rHkbqs3xjP8+XI= X-Received: by 2002:a1c:a791:: with SMTP id q139mr3534961wme.176.1644437862358; Wed, 09 Feb 2022 12:17:42 -0800 (PST) MIME-Version: 1.0 References: <74633bf8-720c-245b-a3cc-75e6467c145e@faresoftware.it> In-Reply-To: <74633bf8-720c-245b-a3cc-75e6467c145e@faresoftware.it> From: Jonathan Wakely Date: Wed, 9 Feb 2022 20:17:31 +0000 Message-ID: Subject: Re: How to avoid this warning at /usr/include/c++/10/bits/stl_uninitialized.h:84:9 To: Mauro Ziliani Cc: gcc-help@gnu.org X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::32e (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=jwakely.gcc@gmail.com; helo=mail-wm1-x32e.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, HTML_MESSAGE, KAM_NUMSUBJECT, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Feb 2022 20:19:00 -0000 On Wed, 9 Feb 2022, 16:32 Mauro Ziliani via Gcc-help, 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 > =E2=80=98std::move_iterator > boost::asio::wait_traits > > >::heap_entry*>=E2=80=99 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++.