From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by sourceware.org (Postfix) with ESMTPS id 787FF3858292 for ; Tue, 5 Jul 2022 21:24:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 787FF3858292 Received: by mail-ed1-x52c.google.com with SMTP id g1so9281861edb.12 for ; Tue, 05 Jul 2022 14:24:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=amieATubkEnZxm1XJVJKwdA0EYtTPACxBKuvnO2uqik=; b=y/8W1PrRxyS6cYfqRsQgpcUh4FM3ZzcbBtYxi0hg7Zbb18e6lSPDfs858ZQEy8cpSh OfuJzbS68zaW9HpFojMKBXP6N/ir5gSd3TX25u4aOL5wPRhLqT5t1wS7sWh7KgJwQTzC bOFTKdXhpUp6dZ4vmP/o3WyFjMWl8rRPSgbEPkHv9e9AZStzJXcmOoV1bH60mlNQmjJA kD0SaGHPjSdJGDIPieoO6Qs8TGtT7G6ovPTc6Mv4MeM3Y/kk4AmcMMkmTgkBJN+My972 16m7VMeV0YVZDDBJhAxYcYRDJsyXxHlSeuUqbcGw1BLFBCrWT/clVIN5BXjAJIisxk/r bOJw== X-Gm-Message-State: AJIora/ZLUsKgEt7yFRn7b5p5x6OsWSHsG19E1wAwRGGRCSlWjYFSrM3 gn0aUzR4Bxtx83XsrpS7Sgo= X-Google-Smtp-Source: AGRyM1tZ2OCm15nGqX5jqwOSRQGxdvI1xXMHgMrBDShPOR5wOfxVAyJZZ8otHRrR5uaPFeKqrbNQSQ== X-Received: by 2002:a05:6402:3685:b0:43a:7c29:4284 with SMTP id ej5-20020a056402368500b0043a7c294284mr5260488edb.147.1657056276193; Tue, 05 Jul 2022 14:24:36 -0700 (PDT) Received: from smtpclient.apple (85.65.72.155.dynamic.barak-online.net. [85.65.72.155]) by smtp.gmail.com with ESMTPSA id ev20-20020a056402541400b0043a20be7a33sm6614901edb.90.2022.07.05.14.24.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 05 Jul 2022 14:24:35 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Yair Lenga Mime-Version: 1.0 (1.0) Subject: Re: Gcc Digest, Vol 29, Issue 7 Date: Wed, 6 Jul 2022 00:24:34 +0300 Message-Id: <16B925A2-D5E5-4731-AE79-6E6253DB350B@gmail.com> References: <87bku33gbd.fsf@oldenburg.str.redhat.com> Cc: Yair Lenga via Gcc In-Reply-To: <87bku33gbd.fsf@oldenburg.str.redhat.com> To: Florian Weimer X-Mailer: iPad Mail (19F77) X-Spam-Status: No, score=-1.0 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 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, 05 Jul 2022 21:24:39 -0000 I prefer not to go into =E2=80=9Cflame wars=E2=80=9D on the merits of C vs C= ++. My projects are (mostly) in =E2=80=9CC=E2=80=9D and I am happy with this= setup. In addition, given technical / organizational / business issues, swi= tching to C++ not an option. Yair. Sent from my iPad > On Jul 5, 2022, at 3:16 PM, Florian Weimer wrote: >=20 > =EF=BB=BF* Yair Lenga via Gcc: >=20 >> My question: does anyone know how much effort it will be to add a new GCC= >> built-in (or extension), that will automatically generate a descriptive >> format string, consistent with scanf formatting, avoiding the need to >> manually enter the formatting string. >=20 > It's already possible to do this with C++. Can't you just use C++ > instead? >=20 > Thanks, > Florian >=20