From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by sourceware.org (Postfix) with ESMTPS id 3C25F3858C27 for ; Tue, 8 Feb 2022 02:21:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3C25F3858C27 Received: by mail-wm1-x331.google.com with SMTP id l123-20020a1c2581000000b0037b9d960079so521917wml.0 for ; Mon, 07 Feb 2022 18:21: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:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=Udh4a+8uIr8+0TOXwVC5bWvTVAmSG3nGEHf/hNmCkVw=; b=gz1oTZEnBK900aX1cJhAko+VmDm8q7mCq5rfxJ2A7HliCkNCCSOMPTp504i569qrpj 0WWI3B+bAdkfudV81JOKddh03v3OZV1oDtYM3/OUpVUvlaJsNY65mgnBKjXBaibbyVwy LzLqO57AcuGiDe95BGbKUoH/E/B2DjlLB/wo7L9DDwAZK8xluxA9xqTsbssV8KpihhuH 6X8RL5A2kc2rl3xJhTJ9GUMYkinIR6c/RKup5moKGEU4axryXVRsmWJyEAUMuaoVxnfk wpqggYjlPcG5bOij9pQg9uDKv1FR6KhkIHCi0GoaVttR39+GtyA4/BE1jIa9XSoq/T/Y QeGQ== X-Gm-Message-State: AOAM5303kAIZB9KUUJH/MYAxgLcGbuC+auMrPmNd3+7sYxalgw7jYulf fPvocMpgjEXCDePc14CBFKg= X-Google-Smtp-Source: ABdhPJwbmBUJitW/b64lkm5rrxe5dQx88huJCNisUxvgR0J5/UszbrkGsaXvE2G0xs2ap7yeK7A0oQ== X-Received: by 2002:a1c:f004:: with SMTP id a4mr1257730wmb.1.1644286900135; Mon, 07 Feb 2022 18:21:40 -0800 (PST) Received: from [10.26.0.10] ([185.246.211.193]) by smtp.gmail.com with ESMTPSA id p7sm713668wmq.20.2022.02.07.18.21.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 07 Feb 2022 18:21:39 -0800 (PST) Message-ID: <649f3dd2-54f0-2258-61e5-1304a1140bbe@gmail.com> Date: Tue, 8 Feb 2022 03:21:38 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Subject: Re: C++ version for GCC development Content-Language: en-US To: Abdullah Siddiqui , Jonathan Wakely Cc: gcc-help References: From: Gabriel Ravier In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A, RCVD_IN_ABUSEAT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 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: Tue, 08 Feb 2022 02:21:42 -0000 On 2/8/22 01:17, Abdullah Siddiqui via Gcc-help wrote: > 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? Although the repository is unofficial, it does appear to be up to date with GCC's git repository (although perhaps with a few minutes/hours of delay, but that shouldn't be a problem for most purposes). > 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. >> >> >>