From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by sourceware.org (Postfix) with ESMTPS id 26950386EC43 for ; Tue, 23 Feb 2021 07:47:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 26950386EC43 Received: by mail-wr1-x432.google.com with SMTP id t15so21471983wrx.13 for ; Mon, 22 Feb 2021 23:47:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=sr/hl0Vb1S2HS81uWBOV0iKGQUnu8f0E/H53YKz7/0Y=; b=nQu5LpRbySJ2l31a1uktjljAjv/rRGwua+GSW4ajirlFOjEar2hvEzm7ttDxdITvBQ B5N+fXq7tKgNgwZHatv9MC+59XEdKkAY0S13MFsHqoeNojb/hvOXeN/q6S0AuNMe46UH T4U8/somH6ueYyXFAMyFqugNOYbEJQjURJOpDpxRYWQ6GsaER+aWT1cxA21CZTBDXbsS OCNGb409aMaWnPChLmYCkb9MPNad69EeUAsc69vJxc82nfZMVx0tYR8ErAoMwMzI/Al8 QonIyPBWDlSSh0D1MRtg0tcNXx6wk69+fh30JhkL/iQc+JSzR82chWThV5/A4otZ8Gcf Kgbg== X-Gm-Message-State: AOAM531PF5irWbIG3WpgfMVj1Kwz+KO0vpDkrRk4BdSfklQKyhwqAMsA OlcYvn0x7c6m16ppKpD3Uu68TEVuD3vDpGBY840= X-Google-Smtp-Source: ABdhPJyOfmiS14UhB0odWVEeH7dS8lMCiAVXBOKxiSKrMvGSvIEqIutiy3atnppa4tOCmvDBozRdKIHsViIRYUDNZpg= X-Received: by 2002:a5d:4050:: with SMTP id w16mr1887566wrp.21.1614066450188; Mon, 22 Feb 2021 23:47:30 -0800 (PST) MIME-Version: 1.0 References: <87v9apmuaf.fsf@oldenburg.str.redhat.com> <871rdch2ek.fsf@oldenburg.str.redhat.com> <2fb62aed-ac10-63d2-7070-cea4ba4db62d@westcontrol.com> <698dfee2804e5b497a8427754d831089541bd006.camel@redhat.com> In-Reply-To: From: Jonathan Wakely Date: Tue, 23 Feb 2021 07:47:17 +0000 Message-ID: Subject: Re: using undeclared function returning bool results in wrong return value To: Martin Sebor Cc: David Malcolm , David Brown , Florian Weimer , Jonathan Wakely via Gcc , Thanos Makatos X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gcc@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2021 07:47:32 -0000 On Tue, 23 Feb 2021, 01:02 Martin Sebor, wrote: > > So I wonder if changing configure to either implicitly use a command > line option for its tests or set an environment variable to request > a permissive mode might be a way out. > Having a different set of rules for configure scripts is bound to fail at some point. The obvious example is a configure check to see if functions with implicit prototypes can be called. That would work in permissive mode, but fail when trying to run the compiler later. > >