From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sonic303-20.consmr.mail.ne1.yahoo.com (sonic303-20.consmr.mail.ne1.yahoo.com [66.163.188.146]) by sourceware.org (Postfix) with ESMTPS id 1BF5D3858D33 for ; Thu, 11 May 2023 03:56:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1BF5D3858D33 Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=yahoo.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1683777387; bh=HSqrQFT7fFOKJQq35LHmI4vv0pzgrGIFB0gT1uxuB6E=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=uNKodrIVsFH2tqB6qhbsjo3hxH51VvktjLPkQ+TO6LgMyzyLMH41fac/L/SGDIzmpcX9Ur+jVc9YX6X4pFlOwbsNbpRibJZEtd+pTBT8CDxGUHfzRJfVDEgy7Xo3Mzxu2ftv9WvBcdyLFla8pE1acu0cB2N8K3xNv9LFzcLXptui7xh2OH1FPTBtKfIrzbC/cQosYUhg0zE/tCU29Lryb807b4Ug9nToaSH87ZVb/Po/QzWOP0A+UWcTAOzKuvoV9gI+b9Yg7yuAPSXbpxjsj9wFcrNrzsJ/HYVOeIuKDgIGyAq7puh/SRDla26h0B/sKrQkcRcxt77O5Y8gNe7NZQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1683777387; bh=0NUo5yYVdHchzKt1bcXdDQ0NMC8Kz4dy/EGtlht8a4U=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=f0zWPF9ImSDGvGa7BvtDGx1P+let+9XPGeaWOqDJmFr/AO9hfMfBkKKZM7092bRMStZo3exjB6SR/OSpXZStdcRd2cPErFXFDsnY6bm8zaqEKQeTsv31+MX2GDoz+PpLf6ZC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TCRAI3AbKVLMzb4j3ku0fCdun5ISIhOyYmxsMxep CYwv55guMtvw47xxbSThtgydD7Q3.Ac1_NH9I6PDUJd5SP6RR3mR3aUyLA45SCWHqv9bxZKCrcdV rwSDYA9_iE2FkcDbBpDENGvSb5CmofLJBpCH18NSefBsXjWovtRmBc1zWJlsiMLwu3NpVZWKRmOx HqKvMHsHpaiOVrfkl94phULZmGFOSnDjc_j8KBEOhtDjnmWY9_DoVMHU0HBsfotiDmHpfqQXO01u Cwq7Aqb0kikuYAcUMrupMukDBQ_v2jrHss6Qaw1WJ.UDWDG_4APsGsG5adxmWXJ9D4rwyyFcYWtD gA_Ja4ghVxgrM6s1_LPAQWgI1W8xoS_QA2IPBx1oEtjwoZIKzNvIwjr.45IhkBNSxcoWxOqJT X-Sonic-MF: X-Sonic-ID: e544cf62-a589-42f8-89ef-cf224527ea53 Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.ne1.yahoo.com with HTTP; Thu, 11 May 2023 03:56:27 +0000 Received: by hermes--production-sg3-748897c457-6lgkj (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 077539ed56f4c010f0805fa5bf15a209; Thu, 11 May 2023 03:56:23 +0000 (UTC) From: Po Lu To: Eli Schwartz Cc: gcc@gcc.gnu.org Subject: Re: More C type errors by default for GCC 14 In-Reply-To: <57238276-5966-98d6-d5f0-f5451013ed17@gmail.com> (Eli Schwartz's message of "Wed, 10 May 2023 23:14:20 -0400") References: <87mt2behdl.fsf@yahoo.com> <57238276-5966-98d6-d5f0-f5451013ed17@gmail.com> Date: Thu, 11 May 2023 11:56:18 +0800 Message-ID: <871qjned25.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.21471 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-Spam-Status: No, score=0.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Eli Schwartz writes: >> Unfortunately, we do not have the source code for our compiler. Would >> you care to ask people here to restore `gcc -traditional'? > > > This would appear to be a self-inflicted wound. If I understand the > chain of events properly... The chain of events actually is: - The code was originally written for the BSD Unix cc. - Eventually, it started to be built with GCC, with -traditional. - GCC removes -traditional. - We are forced to find another C comppiler. Note that I wasn't where I am when this started, so everything above is second hand knowledge. And finally, this: > - to avoid making it produce invalid results, you hack your linker Which is essentially link-time lint, and not related to the subject at hand. I only mentioned it to make a point, which is that people writing traditional C in this day and age are unlikely to make any mistakes doing so. > You'd rather hack your compiler, but you cannot do it because you > purchased a proprietary compiler and didn't purchase the rights to its > source code. > > (BTW, there's a FOSS compiler that you can hack on if you like.) Which sadly does not support the code which we need to compile. Clearly, turning GCC into a K&R compiler is not a very welcome idea around here, so why would we hack on it? > That's all fine and well, you do you. What I do not understand is, two > things. > > First of all, why are you calling this "traditional C"? It is not > "traditional C". It isn't C. It is not-C. When the file names for the source files end with `.c' and `.h', and the compiler is named `cc' and `acomp', it is C. It just isn't Standard C. > Second of all, why is this GCC's problem? You are not a user of GCC, > apparently. Because decisions arbitrarily made on GCC's part will simply result in even more people deciding to find some other compiler. The point being that people sufficiently dedicated to their existing code to not have changed in over 30 years will not respond to such changes by changing their code. They are much more likely to look for some other compiler instead. > And implicit-function-declaration does not have the same problem as > -traditional, because implicit-function-declaration ***WILL*** have a > flag that permits people who are users of GCC, and just want > implicit-function-declaration back. And remember that `-traditional' DID exist for a certain amount of time. Then it was removed. So in addition to annoying a lot of people, what guarantees that -Wno-implicit will not be removed in the future, after the proposed changes are made?