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 3C1F93858D28 for ; Wed, 9 Feb 2022 16:31:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3C1F93858D28 Received: from eggs.gnu.org ([209.51.188.92]:37080) by fencepost.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHps9-000758-SI for gcc-help@gnu.org; Wed, 09 Feb 2022 11:31:14 -0500 Received: from 93-38-119-136.ip70.fastwebnet.it ([93.38.119.136]:58428 helo=posta.faresoftware.it) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1nHps5-0001oL-OU for gcc-help@gnu.org; Wed, 09 Feb 2022 11:31:13 -0500 Message-ID: <74633bf8-720c-245b-a3cc-75e6467c145e@faresoftware.it> Date: Wed, 9 Feb 2022 17:22:01 +0100 MIME-Version: 1.0 Content-Language: en-US To: gcc-help@gnu.org From: Mauro Ziliani Subject: How to avoid this warning at /usr/include/c++/10/bits/stl_uninitialized.h:84:9 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Synology-Spam-Status: score=-0.101, required 5, FROM_HAS_DN 0, TO_MATCH_ENVRCPT_ALL 0, MIME_GOOD -0.1, TO_DN_NONE 0, RCPT_COUNT_ONE 0, RCVD_COUNT_ZERO 0, FROM_EQ_ENVFROM 0, MIME_TRACE 0, __NOT_SPOOFED 0, MID_RHS_MATCH_FROM 0, NO_RECEIVED -0.001 X-Synology-Spam-Flag: no X-Synology-Virus-Status: no Received-SPF: pass client-ip=93.38.119.136; envelope-from=mauro@faresoftware.it; helo=posta.faresoftware.it X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 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, PDS_RDNS_DYNAMIC_FP=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, TVD_RCVD_IP=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Status: No, score=1.4 required=5.0 tests=BAYES_50, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, KAM_NUMSUBJECT, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org 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 16:31:16 -0000 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 > >::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