From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 14620 invoked from network); 23 Jun 2022 02:59:33 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 23 Jun 2022 02:59:33 -0000 Received: (qmail 1640 invoked by uid 550); 23 Jun 2022 02:59:31 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 1607 invoked from network); 23 Jun 2022 02:59:30 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=siFCCEbDeuh9NsHHhgiETctkotToac7tx+miMeuVHDY=; b=b5wY2zs6VNJ8iUPOHhq1CbGrYtfkDsykX5+wjc8uDjQwYMvTjZN1yM4kgzxO1KBhZV /mjmjgtuZHMIHcQH2Mtg/kT+vfgVWqQISDEGkU/rp82lmMMS40ASbtos4T4ICbhKCVO4 7W9X7HmA7DWAFNvy/Ha7AEWYFgx1lPc9bVWN+izS4l4NHhosouQd06hjvXubQ6uHJq9g ys/WyUL1JfGH4yYrGMRQ92FGewQkEK+I01faBJV2XX1XS3AMrqbk5jEnVo1V7GH32UlB GvL8ZS9ngvORnI7mX9UMNT5nsBx490F6BSDSMfCNtWuNY0b32XJcrFKIDq7Q4aY0RzlD aA3g== 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=siFCCEbDeuh9NsHHhgiETctkotToac7tx+miMeuVHDY=; b=A4ugqtwv2uJwnFn4f0YHre2E46j4fH7EgbK4e/6bmhrFpvzWvH14Sj/79H15Q/myF/ /UcESbv3BgcNUDiQEIiY+S01iuk7/vrBWwjD/vQ2mfU8yXnEQ/1OampCN18DXNeixX0E 6hbsDg5Av7so/nAK93ecOnaDa1z27y92tZNz4a8q0xmeF/MZnS1Bs+Q10ExRvzqDhFxD bN3zqF53XgRLTE3ZQ5y2JHFeHXhzK7cetSc3koWR1lb7rxWcA5zFrAoBvahDnx/fNY5x 2WNs0dikJt9C3NwdahdZLD4W86rutyrG4c5iLtIEo3xwhyUVBk/TcppMqKE+0mk0ckwB Dqbg== X-Gm-Message-State: AJIora9H1LxsWqNK3TzdmN7omRGUTrZCn03625B1UOQdKTqKsmAqdSKF s56G3tySPDplqiuqcI6FKqOEQ67yRH0ci4GPels= X-Google-Smtp-Source: AGRyM1ttO6iq81HJOrz/PEeT2nG0hncKFlQzDAtlsD+6fwm5LAUoUObEsRd2klyTJRaWXQZMEpmpdfHBFcPqxm4BXks= X-Received: by 2002:a05:6e02:20ed:b0:2d9:3846:f3df with SMTP id q13-20020a056e0220ed00b002d93846f3dfmr4040342ilv.220.1655953158672; Wed, 22 Jun 2022 19:59:18 -0700 (PDT) MIME-Version: 1.0 References: <20220622131859.GM7074@brightrain.aerifal.cx> In-Reply-To: <20220622131859.GM7074@brightrain.aerifal.cx> From: He X Date: Thu, 23 Jun 2022 10:59:07 +0800 Message-ID: To: Rich Felker Cc: musl@lists.openwall.com Content-Type: multipart/alternative; boundary="000000000000c9968c05e214a30d" Subject: Re: [musl] g++ fpermissive compilation error for strdupa --000000000000c9968c05e214a30d Content-Type: text/plain; charset="UTF-8" > so it's been kinda nice that this is catching bugs in C++ programs. I agreed. I will see what bazel guys say about the usage of strdupa. Maybe they are willing to remove strdupa. > Maybe there's some way we can fix the C++ const issue but make it produce warnings when strdupa is used in both C and C++...? I have no idea why '-fno-permissive' does not work for me. But whatever, it is OK that the patch can not be merged upstream. xhe --000000000000c9968c05e214a30d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> so it's been kinda nice that this is catchin= g bugs in C++ programs.

I agreed. I will see what = bazel guys say about the usage of strdupa. Maybe they are willing to remove= strdupa.

> Maybe there's some way we c= an fix the C++ const issue but make it
produce warnings when strdupa is used in both C and C++...?

I have no = idea why '-fno-permissive' does not work for me. But whatever, it i= s OK that the patch can not be merged upstream.

xhe
--000000000000c9968c05e214a30d--