From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oo1-xc29.google.com (mail-oo1-xc29.google.com [IPv6:2607:f8b0:4864:20::c29]) by sourceware.org (Postfix) with ESMTPS id 068793858C83 for ; Tue, 8 Feb 2022 00:17:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 068793858C83 Received: by mail-oo1-xc29.google.com with SMTP id u47-20020a4a9732000000b00316d0257de0so12801982ooi.7 for ; Mon, 07 Feb 2022 16:17:41 -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=fJ+3yVpByZyP5RD4u5+0JbCTK3mO9NQ9pxPvnAiw9po=; b=i/CtLex3l8ezdHqezYl3FwcG9TJoHV1koYOiRKEGhNFjsvTHrHyR5eFcILbfvYchq7 6daaurlVe9yIZh540L5P+60SYUv5eS4HwpyQFqsSe3fCVyxB+veLnoclUdYOogrYM0Hn lJ6FDpCWmqv3c3LbxRiZYog4sInvWzMYgi8iMVoQETojeTsawLuaMYG1lvml6sHS+mFF a4LTLXs//fO7hibPniwoHoLtUkvQlKO2UmLsNRXdWVPCK//POdod04C+WWAqlvSB4Ih6 dNHYwW7b9md2ZOK5/M5zI7haStlwpvnNDa1Y47u5Fdgh6KRDMH6X03tn6JZqv2GJXeue qCjQ== X-Gm-Message-State: AOAM530iNziYPS+bsQsNDFX6FgHWF9NBChOayOMmfQuYiUomLKj/+D4H oBBUk4vYBnI+njEp0GNqn02vSiUNQRYKeizok9A= X-Google-Smtp-Source: ABdhPJwqJg0uRyTHyIKfW/6T2T9Q+UeManUIWRS13GvFQWsBibAlM8gnspieDoCfiJUO7aSLFDmBDEKZTr5Z6nuMsrU= X-Received: by 2002:a4a:3f46:: with SMTP id x6mr881904ooe.78.1644279461327; Mon, 07 Feb 2022 16:17:41 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Abdullah Siddiqui Date: Mon, 7 Feb 2022 19:17:29 -0500 Message-ID: Subject: Re: C++ version for GCC development To: Jonathan Wakely Cc: gcc-help X-Spam-Status: No, score=0.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham 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" 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: Tue, 08 Feb 2022 00:17:43 -0000 Jonathan, Thank you for the clarification. Can I still refer to the code in the GitHub repo for the latest source code of GCC or is it obsolete? Waiting for your reply. Regards, Abdullah. On Mon, Feb 7, 2022, 6:35 PM Jonathan Wakely, wrote: > > > On Mon, 7 Feb 2022 at 23:04, Abdullah Siddiqui < > siddiquiabdullah92@gmail.com> wrote: > >> Hello Jonathan. >> >> Thank you for the quick response. >> >> I got 14% from the following GitHub page: >> >> https://github.com/gcc-mirror/gcc >> >> Am I not looking at the correct source for the GCC source code? >> > > That's an unofficial mirror that's nothing to do with the GCC project, but > it does have a copy of the right sources. Those numbers are wrong though. > It counts several .h and .C files as C when they are C++. It's a rough > estimate based on simple heuristics done automatically by GitHub. The true > number is higher. > > It also looks like they haven't updated those numbers since April last > year, so it will wrongly count all .c files as C even the ones which > contain C++ instead. A huge number of files were renamed from .c to .cc > recently, because they contain C++ and so had a misleading .c extension. > That doesn't seem to be accounted for in those numbers. > > >