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 7963543436 for ; Fri, 10 Jun 2022 18:50:15 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 319C468B34D; Fri, 10 Jun 2022 21:50:13 +0300 (EEST) Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 2C05B68B054 for ; Fri, 10 Jun 2022 21:50:07 +0300 (EEST) Received: from localhost (213-47-68-29.cable.dynamic.surfer.at [213.47.68.29]) (Authenticated sender: michael@niedermayer.cc) by mail.gandi.net (Postfix) with ESMTPSA id 31E9BFF803 for ; Fri, 10 Jun 2022 18:50:05 +0000 (UTC) Date: Fri, 10 Jun 2022 20:50:05 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20220610185005.GC396728@pb2> References: <20220609190406.6339-1-nil-admirari@mailo.com> <20220609190406.6339-3-nil-admirari@mailo.com> MIME-Version: 1.0 In-Reply-To: <20220609190406.6339-3-nil-admirari@mailo.com> Subject: Re: [FFmpeg-devel] [PATCH v13 3/4] compat/w32dlfcn.h: Remove MAX_PATH limit and replace LoadLibraryExA with LoadLibraryExW 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="===============4185818624614985745==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============4185818624614985745== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2PtegAy3ko4/l3FE" Content-Disposition: inline --2PtegAy3ko4/l3FE Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 09, 2022 at 10:04:05PM +0300, Nil Admirari wrote: > --- > compat/w32dlfcn.h | 80 +++++++++++++++++++++++++++++++++++++---------- > 1 file changed, 64 insertions(+), 16 deletions(-) breaks build on mingw64 CC libavcodec/mfenc.o In file included from /usr/share/mingw-w64/include/dshow.h:40:0, from src/libavcodec/mf_utils.h:32, from src/libavcodec/mfenc.c:26: /usr/share/mingw-w64/include/strmif.h:16503:2: warning: #warning COM interf= aces layout in this header has not been verified. [-Wcpp] #warning COM interfaces layout in this header has not been verified. ^~~~~~~ /usr/share/mingw-w64/include/strmif.h:16504:2: warning: #warning COM interf= aces with incorrect layout may not work at all. [-Wcpp] #warning COM interfaces with incorrect layout may not work at all. ^~~~~~~ /usr/share/mingw-w64/include/strmif.h:16505:1: note: #pragma message: Inter= face IAMAsyncReaderTimestampScaling has unverified layout. __MINGW_BROKEN_INTERFACE(INTERFACE) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/share/mingw-w64/include/strmif.h:16533:2: warning: #warning COM interf= aces layout in this header has not been verified. [-Wcpp] #warning COM interfaces layout in this header has not been verified. ^~~~~~~ /usr/share/mingw-w64/include/strmif.h:16534:2: warning: #warning COM interf= aces with incorrect layout may not work at all. [-Wcpp] #warning COM interfaces with incorrect layout may not work at all. ^~~~~~~ /usr/share/mingw-w64/include/strmif.h:16535:1: note: #pragma message: Inter= face IAMPluginControl has unverified layout. __MINGW_BROKEN_INTERFACE(INTERFACE) ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/share/mingw-w64/include/dshow.h:33:0, from src/libavcodec/mf_utils.h:32, from src/libavcodec/mfenc.c:26: src/libavutil/wchar_filename.h: In function =E2=80=98add_extended_prefix=E2= =80=99: src/libavutil/wchar_filename.h:211:9: error: =E2=80=98wcscpy_instead_use_St= ringCbCopyW_or_StringCchCopyW=E2=80=99 undeclared (first use in this functi= on) wcscpy(temp_w, unc_prefix); ^ src/libavutil/wchar_filename.h:211:9: note: each undeclared identifier is r= eported only once for each function it appears in In file included from src/compat/w32dlfcn.h:25:0, from src/libavcodec/mfenc.c:32: src/libavutil/wchar_filename.h:211:22: warning: left-hand operand of comma = expression has no effect [-Wunused-value] wcscpy(temp_w, unc_prefix); ^ src/libavutil/wchar_filename.h:211:15: warning: statement with no effect [-= Wunused-value] wcscpy(temp_w, unc_prefix); ^ In file included from /usr/share/mingw-w64/include/dshow.h:33:0, from src/libavcodec/mf_utils.h:32, from src/libavcodec/mfenc.c:26: src/libavutil/wchar_filename.h:212:9: error: =E2=80=98wcscat_instead_use_St= ringCbCatW_or_StringCchCatW=E2=80=99 undeclared (first use in this function= ); did you mean =E2=80=98wcscpy_instead_use_StringCbCopyW_or_StringCchCopyW= =E2=80=99? wcscat(temp_w, path_w + 2); ^ In file included from src/compat/w32dlfcn.h:25:0, from src/libavcodec/mfenc.c:32: src/libavutil/wchar_filename.h:212:22: warning: left-hand operand of comma = expression has no effect [-Wunused-value] wcscat(temp_w, path_w + 2); ^ src/libavutil/wchar_filename.h:212:22: warning: statement with no effect [-= Wunused-value] wcscat(temp_w, path_w + 2); ~~~~~~~^~~~~~~~~~~~~ src/libavutil/wchar_filename.h:220:22: warning: left-hand operand of comma = expression has no effect [-Wunused-value] wcscpy(temp_w, extended_path_prefix); ^ src/libavutil/wchar_filename.h:220:15: warning: statement with no effect [-= Wunused-value] wcscpy(temp_w, extended_path_prefix); ^ src/libavutil/wchar_filename.h:221:22: warning: left-hand operand of comma = expression has no effect [-Wunused-value] wcscat(temp_w, path_w); ^ src/libavutil/wchar_filename.h:221:15: warning: statement with no effect [-= Wunused-value] wcscat(temp_w, path_w); ^ src/ffbuild/common.mak:81: recipe for target 'libavcodec/mfenc.o' failed make: *** [libavcodec/mfenc.o] Error 1 [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB If you drop bombs on a foreign country and kill a hundred thousand innocent people, expect your government to call the consequence "unprovoked inhuman terrorist attacks" and use it to justify dropping more bombs and killing more people. The technology changed, the idea is old. --2PtegAy3ko4/l3FE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCYqOSWQAKCRBhHseHBAsP q+I4AJ9jRlALwh7R8BoMTuldcCXboIpTuQCgk0R4BI5sv0MwR0SOCgHAdnnj2pE= =wwdn -----END PGP SIGNATURE----- --2PtegAy3ko4/l3FE-- --===============4185818624614985745== 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". --===============4185818624614985745==--