From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-3.7 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 22C9F1F9E5 for ; Tue, 8 Jun 2021 10:58:07 +0000 (UTC) Received: from localhost ([::1]:45228 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqZQr-0004jA-VV for normalperson@yhbt.net; Tue, 08 Jun 2021 06:58:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37684) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqZQp-0004j2-AN for bug-gnulib@gnu.org; Tue, 08 Jun 2021 06:58:03 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([85.215.255.21]:29862) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqZQn-0000RO-AF for bug-gnulib@gnu.org; Tue, 08 Jun 2021 06:58:03 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1623149878; cv=none; d=strato.com; s=strato-dkim-0002; b=bV3abb5wCffkc7+ULxFwijPAqurC7MYSCok5EieYIyjByjZ+tzLdkqIvHqmq3QE2XL A8/5Z+Lm537vHfYIZCo+6hx9e9O1wT6N3doksrl642SOhUJZNEVML8gKASKABej7Xb3y BUvn9YJT1ULqdCtj0/GtJDBIiiwLigfg6liPMC0p4ZxBVb0/ZEl8JJSQhczpdBKMVRi9 RsETpJ5OidMySv5KCvnaemwFENqi9N1MpaC+vLfniT9u6PADseG+QoGydOcLdDs8H/78 S6IRxpp0Q6ya85fWYM3cjwzr+F3+bMBQVZ7foF6xSfh28Id2LEw8lF7jihcempq4I5PT efng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1623149878; s=strato-dkim-0002; d=strato.com; h=References:In-Reply-To:Message-ID:Date:Subject:To:From:Cc:Date:From: Subject:Sender; bh=rCIJx9RzW2kBy1kJgjJRw5RPdeUHmDv+v35IggVpGTo=; b=nPivpwqlaSEqw3rc61j9ABRn9ztQ0Kpi0QbRBrOCX+cafEAEk8jmZ9WxYc+VQXnnf8 zo1hbhc5jU+wl0RU0TLG5qbcZO1bkq0DZBc8WWWy0mvCx7j86Ayg3yMO3Bdea0RUcICz CPPRAJJnHgzAxBr0ypi4IwpfKLRHOu/Vm4eHChbEMaZnVAw/73IsamQ1jTf5oRJ/tcqs n6KNE2cxL/++4n66BC8Yg8qJNg/vDVN1CmPvtfcN7B4d588Nt1fB06ucXvGUGZ7Z6NGr 4UDIFfU4tT8nkn+/zpHkyby7y94bYLHRGHQfKO5ad/t1ylJhKx/yxHBleV8Hawhkfup5 7Z2g== ARC-Authentication-Results: i=1; strato.com; dkim=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1623149878; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:To:From:Cc:Date:From: Subject:Sender; bh=rCIJx9RzW2kBy1kJgjJRw5RPdeUHmDv+v35IggVpGTo=; b=XlmYG+N8vnXMj4Ur2d1NOwVElUdeOcpbHgR8FUVUf4oeKRBLMNzf6XnAyAwX8Qxwg2 SW5Fu6OKJmxhenB70yvD7Om+IrTG8zPnfT+UitsmP/mvhpaKdsfhAv/9u0fFUHf8Yc97 nbBILAMLRI0mHVdfn3BlrGV0afDdb6Mj2vO9BjBagjUWOsDNU0QqbZqqMYpJis55+CnO Scd5RZnYCZoHZmG/T61i/nCgXF+l/0rQK86aPRNZWFJ8nRYp/PTu3qqKxUTllIHvKE6Y m3rlp2L1acWwmRhQrLSbWW9UiyzDf3yCePJI/2El0dO028YDA8wYNPW0r+DSPuQRS6R3 zM5w== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH+AHjwLuWOHqf3z5NW" X-RZG-CLASS-ID: mo00 Received: from bruno.haible.de by smtp.strato.de (RZmta 47.27.2 DYNA|AUTH) with ESMTPSA id q0869dx58AvwTWx (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Tue, 8 Jun 2021 12:57:58 +0200 (CEST) From: Bruno Haible To: noloader@gmail.com, bug-gnulib@gnu.org Subject: Re: warnings in unit tests Date: Tue, 08 Jun 2021 12:57:57 +0200 Message-ID: <4537093.ULRrrf3QbG@omega> User-Agent: KMail/5.1.3 (Linux/4.4.0-210-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: References: <15897619.AQZsorJ5YP@omega> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Received-SPF: none client-ip=85.215.255.21; envelope-from=bruno@clisp.org; helo=mo4-p00-ob.smtp.rzone.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" Jeffrey Walton wrote: > Apple's port of Clang enables missing prototypes by default. You will > get the warnings whether you use -Wmissing-prototypes or not. You now > have to actively disable the warning with -Wno-missing-prototypes. Thanks for the heads-up. From my perspective, we can treat Apple cc like MSVC, xlc, Sun cc, clang on Windows, and the other vendor compilers. Namely, quickly glance over the build log to see whether there are warnings that look relevant and dangerous, and other than that ignore the warnings. This holds for both lib/ and tests/. Reminder: We never promised a warning-free build, neither of lib/ nor tests/. The difference between lib/ and tests/ is that code in lib/ goes into the binaries delivered by the packages, and therefore if a package maintainer makes an effort to silence a warning, we will consider their patch. Whereas for tests, as I said, it is too much of an effort/cost to do so. Bruno