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 59F4E4414D for ; Sun, 27 Nov 2022 19:23:16 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id A3DA468BA4D; Sun, 27 Nov 2022 21:23:13 +0200 (EET) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12olkn2050.outbound.protection.outlook.com [40.92.22.50]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id C71B468B940 for ; Sun, 27 Nov 2022 21:23:06 +0200 (EET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BKxSpOuES47FBwopEdT6FyWeI5MLhAs9P02Vvo0Y8bn+CIFpj/7OZpQ2sP2bsOr12wK2afpb65fm4IKbF4DHnvkRKKrUwJRqRAZHPkm6/wEPf9930fz6+WkezIrHf4uahdWZ+bL3FlMsaxXU8YbP7UgicfBdYeHZZ+oWYSIyFQipqVqH7kcpniyWhCo6cRsJCPmFO5ELOx4obxjAFPemG0KtzHrirWGabtDbAlpvhW0TvX6u9GLPhXG/LCgiVyTJnnfsha8HgDxs1Ss+7wze1EeIUMW+7eKuoVRPYRggYzv7lEEFRiPoe2jFbLsRSLOz+MsFo53RQqdRfakzaSpKcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=3TpPRWR3dcnGp5nCluz+RDgzKOmvK+l9fxm055Ls2eQ=; b=ERzXMaLbhNeSwHejhAtXi99yU9CelvQJSwLAmHgAPEW+iE/KMRcJkrEbLoHrqhp+MGsInYTdPvhUEnJ5zv0o2vh/ZzY0UXqa9AnB3aRoV/It9PO0RKMuAWJlH/msmkmDj+XmW9z22YVPLVASI2Ck5JtK9MamJyz61Oow0WJB2Z63Od3gRM0rzruqqZyAARSPHK4udDj8Q6FnHlkczQkyOJocMybem37qeKbGioIGCV0/2SsX9VP4Kd/+80Rhb4ystrUTUpsKeffQg/2LaugCA8zjxM8T9ZilunHsxolAGezcDrWYrHqK938DJ7cl84e5o7JAB3Yg3zttKK+Z6vWYig== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3TpPRWR3dcnGp5nCluz+RDgzKOmvK+l9fxm055Ls2eQ=; b=WU3bs4/GtE/E+w10rqShFBnqelf3d6MG3dkah4jdQI+73VO77UorK9Iq6AvibNP3n6Z8Fx/cIyPSchGxqMim0bUShLvGTBBpf1M45Op7KfuNBXl38ZrSjsjEXq0wRiNFcleVW396L96qzlhnAEkP+WKHhc3tJ3+fiS9Ro78+unzpOkut24IxQi/+dNW9WG7uxyVJ2tOX0bugU596Z8B2WVKtIgXVaMzJccDthrYziNwWIOO22sx1L0QNMpVut3KYA62GLYAdJWl4PghwF45k+vPnGs+UEpepX49rEpA+Y7zdzXSt4OWxqxJFhq1JVhZecPduRwRu9A6hrbnKHpng9g== Received: from DM8P223MB0365.NAMP223.PROD.OUTLOOK.COM (2603:10b6:8:b::20) by SA1P223MB0608.NAMP223.PROD.OUTLOOK.COM (2603:10b6:806:25b::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5857.19; Sun, 27 Nov 2022 19:23:03 +0000 Received: from DM8P223MB0365.NAMP223.PROD.OUTLOOK.COM ([fe80::45ea:be80:31df:38c0]) by DM8P223MB0365.NAMP223.PROD.OUTLOOK.COM ([fe80::45ea:be80:31df:38c0%8]) with mapi id 15.20.5857.022; Sun, 27 Nov 2022 19:23:03 +0000 From: Soft Works To: FFmpeg development discussions and patches Thread-Topic: [FFmpeg-devel] [PATCH v3 0/5] Fix FFmpeg compilation without DCE Thread-Index: AQHY76KBBGDx8LROu0Kys8rlDsDi9a4zkL0AgB4nTgCAAVjtAIAAA1ZggAAMGoCAAAW40IAACo4AgAALzkA= Date: Sun, 27 Nov 2022 19:23:03 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-tmn: [xiHdk5zEljfrxzvOWfUcWkR7kx/BuRTQ] x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM8P223MB0365:EE_|SA1P223MB0608:EE_ x-ms-office365-filtering-correlation-id: d2336be1-be1e-46eb-74ec-08dad0acce30 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: fva1/D7AfVJtsa8QBYVKqFuals2kB69INbhPnw8Y9qVEPJmDaMxpCwRRUROvVrz265auhOKiLuC22ephvjd/sJxJfuuN1fP+G5EqXptZmnXA7/c6Ch02khHaCxZ7QiahPinXJkIbOPG91gTM+2K9yZ4V5PskxNfPVWkHLh8mD/PjbUr8ZzgDwXRIl5QgWF137k8FJrNEGLonwAtWajDa1HteOOu5DvOabynU4exvOCmAvfJ6p4ZojMfvnKZOI2CYVGhdbb/RHg0aqTScyBk6sJw1grIgZaF88QSBEg4Uatp54DzKci+xGjV44c1ow47lG/O5rl1LkTTYSp4WRuSndryu7TmOyz4U0yM5YiyUTHs2goEoWuvNzZSiiCLDSYBU0le6CAClQgsvmosVC9S+ZFaNM2IfAo2aKMxTlBmbc7Guggkx7Y/uJYjtzQ0saFFZpvrTQHw/PYvHp86QR+FVHm5gjRNyJcxur00n/q8gQNwh7awZXdgUE1GiU05riOeCf4qcCk72e27mc7Cw/IGfooKhXLBAk22dJEDQ7oqLMAtkOcSp4m7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8?B?a2gyUjFDYlJGbUFRQkVrL24zNDRlbEhjZmF6VmxscUZKTGs1T2RGZ3ZXaHVE?= =?utf-8?B?Z2FXcVRFcTdTaEQvcUtLQjF1Ulc4Wm4zNXUrWlppdFJWZ25OZndBb0VnPT0=?= MIME-Version: 1.0 X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-1ff67.templateTenant X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM8P223MB0365.NAMP223.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: d2336be1-be1e-46eb-74ec-08dad0acce30 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Nov 2022 19:23:03.7955 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1P223MB0608 Subject: Re: [FFmpeg-devel] [PATCH v3 0/5] Fix FFmpeg compilation without DCE 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: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: > -----Original Message----- > From: ffmpeg-devel On Behalf Of > Carl Eugen Hoyos > Sent: Sunday, November 27, 2022 6:45 PM > To: FFmpeg development discussions and patches devel@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH v3 0/5] Fix FFmpeg compilation > without DCE > > Am So., 27. Nov. 2022 um 18:16 Uhr schrieb Soft Works > : > > > > > > > > > -----Original Message----- > > > From: ffmpeg-devel On Behalf Of > > > Carl Eugen Hoyos > > > Sent: Sunday, November 27, 2022 5:47 PM > > > To: FFmpeg development discussions and patches > > devel@ffmpeg.org> > > > Subject: Re: [FFmpeg-devel] [PATCH v3 0/5] Fix FFmpeg compilation > > > without DCE > > Please consider fixing your mail client. What did it do wrong? > > > Am So., 27. Nov. 2022 um 17:29 Uhr schrieb Soft Works > > > : > > > > > > > How do you set this up when you are compiling with MSVC? > > > > > > My configure line to compile with MSVC is: > > > $ src/configure --enable-gpl --toolchain=msvc --host-os=win32 > > > > > > But maybe I misunderstand your question? > > > From what I remember, running configure in MSYS literally > took ages, I don't know if this has improved. Nope. It's still as horribly long as it was, even with everything update to latest.. > > What I meant is the environment. Are you running this from > > an MSYS shell? Or WSL? > > WSL Ah alright. Probably a better choice when all you need is the scripting environment. > > And does running configure output VS project files > > I don't think so. Sorry, I must have confused this with some external script or something. I was asking because when it's about msvc, I'm used to picture someone would be using VS as an IDE. So, yes, the plain msvc compiler doesn't have a problem with DCE. The problem is when creating projects to compile and work with the code in the VS IDE. And what VS does is pre-parsing the code in the background while you're working on it, so you don't really need to compile as you see errors and warning while you write them. As there's no actual linking being done, this procedure cannot "simulate" the DCE process and it can only assume that those symbols that DCE would eliminate are missing symbols. The result is that you cannot work in the IDE because it is full of errors due to this. Likely, this is also the use case of the submitter of this patch. I'm using VS as well, not for final compilation but for writing and debugging as this allows me to work in the way I want to work. Currently, I'm using Matt Oliver's VS project generator, which does a really good job in working around these problems by creating empty definitions for all these loose ends that are missing (as long as a final compilation hasn't determined that they aren't actually needed. But this does also have drawbacks: when changes are made in the ffmpeg base, those definitions may not match anymore and the projects need to be re-generated (which is painful). And the same applies when switching branches, so I usually have multiple sets of VS project/solutions, but these still get outdated and I need to re-create again. For these reasons, I would very much welcome when this situation could be improved. And not only for those but I also had a situation at some time where I wasted a lot of time and got quite desperate on something that turned out to be caused by the code relying on DCE - which wasn't clear to me in that situation. When you know about it, then you can live with it, but when not, then it just adds to the experience for those who are new to ffmpeg. Also, I'm not sure whether that is a reasonable use case for DCE, that it allows you to spare writing a few conditionals in the code. Anyway, I would find it nice if the code would not rely on DCE anymore. Best wishes, softworkz _______________________________________________ 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".