From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 36C9243098 for ; Tue, 19 Jul 2022 21:24:11 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 279D268B7B8; Wed, 20 Jul 2022 00:24:05 +0300 (EEST) Received: from nef.ens.fr (nef2.ens.fr [129.199.96.40]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 9AC2C68B7B2 for ; Wed, 20 Jul 2022 00:23:57 +0300 (EEST) X-ENS-nef-client: 129.199.129.80 ( name = phare.normalesup.org ) Received: from phare.normalesup.org (phare.normalesup.org [129.199.129.80]) by nef.ens.fr (8.14.4/1.01.28121999) with ESMTP id 26JLNucn024851 for ; Tue, 19 Jul 2022 23:23:57 +0200 Received: by phare.normalesup.org (Postfix, from userid 1001) id B5787EB5B9; Tue, 19 Jul 2022 23:23:56 +0200 (CEST) Date: Tue, 19 Jul 2022 23:23:56 +0200 From: Nicolas George To: FFmpeg development discussions and patches Message-ID: References: <20220709043142.2228184-1-amirmazz@google.com> MIME-Version: 1.0 In-Reply-To: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (nef.ens.fr [129.199.96.32]); Tue, 19 Jul 2022 23:23:57 +0200 (CEST) Subject: Re: [FFmpeg-devel] [PATCH] Make implicit void pointer cast explicit X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: multipart/mixed; boundary="===============1141763717379128004==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============1141763717379128004== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kAnzK7ZRzFEqMnE2" Content-Disposition: inline --kAnzK7ZRzFEqMnE2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Amir Mazzarella (12022-07-19): > Thank you for your response! A C++ compiler can't do implicit casts like a > C compiler can, in this instance. This is fine for most of FFmpeg's > codebase, since these tricks are in C source files, but in this instance = it > is in a header file. If any C++ code includes this header file, even with > extern "C", it won't be able to be compiled. Thanks for clarifying. I confess I had more or less guessed. FFmpeg is C, and its headers, public or not, as a rule do not contain accommodations to be included as is in other languages. > On Tue, Jul 19, 2022 at 12:08 PM Nicolas George wrote: Please remember that top-posting is forbidden on this mailing-list. If you do not know what it means, look it up. Regards, --=20 Nicolas George --kAnzK7ZRzFEqMnE2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE6ooRQGBoNzw0KnwPcZVLI8pNxgwFAmLXIOoACgkQcZVLI8pN xgylAQ/+Mglv3FkbB+nE6xPj+qN+cDI378OS2lUADDKWoPA5hr1zZdRycq34eHnI I7sjWIjBcd03uLqdWoau3RNZJqPkar83iKBGK+I5twsjdla25hTMNLH9T9NVw2Or 4JW2OeSmReGMN7Cnhx1FJdZoABJmtazNrVX4xIfzEyGxr2p6srwoNlWNjAFMjzkS Qv3240acGxGl2EyU8rnq6bv7iksQqLiljuUbv9miz3mWbfCw5+AaWgq2iH57RsPI 8sDw2c9bYu6Kvw8lmHKNY0PiBtQNEZdq8vx8mWERwtVXDI8Af/qkwffiAHX5OQ8N TlFT91ngMdBa3BuSg0ApM9Tc17vewdqkrCgvcPygfuIEhgX2xBWQlq4MI2SIizRm oS3orsJlJzX4yX/hS87pzFiMWZKtVbvxs/p8HE0ujVfDs58KqwP0bVuLGDJKXL+j 7ftP6+zC6kNGEnyy1oBmhe6KXS0B/xB4KuIYTx8uhQ7XYH3OnwifuobVzEwB1WDK Q6RSN+olo0Z36CUZJgUJLxz8JOuuuaYR93hllAYemSN9YH/BogBBoRcDLnvYCrLe YgumdzGfqKiJ/dPf6LRCMoCOURvti0hNjABdTT92FdhAVebJs1Br6B31J78gBq3v Tj190kZwcoZZOHy5eT5GXh/wXsn7kbMXOsjo30/ZrwSS20hMcvE= =qRw1 -----END PGP SIGNATURE----- --kAnzK7ZRzFEqMnE2-- --===============1141763717379128004== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". --===============1141763717379128004==--