Re: [FFmpeg-devel] [PATCH] configure: Allow mixing declarations and statements

2025-04-08 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Patch attached. > > - Andreas Will apply this patch tomorrow unless there are objections. - Andreas ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit lin

Re: [FFmpeg-devel] [PATCH] configure: Allow mixing declarations and statements

2025-04-05 Thread Zhao Zhili
> This C90 rule forces us to use a too big scope and should > therefore be dropped. Given that we already require C11, > all supported compilers can handle mixed declarations > and statements just fine. I like the new style. But other people may have reasons more than C standard and compiler supp

Re: [FFmpeg-devel] [PATCH] configure: Allow mixing declarations and statements

2025-04-04 Thread Michael Niedermayer
Hi Andreas On Sun, Mar 30, 2025 at 05:37:00PM +0200, Andreas Rheinhardt wrote: > Patch attached. > > - Andreas > configure |5 - > doc/developer.texi |3 --- > 2 files changed, 8 deletions(-) > bebf4bbda3bcdc99d5118bc0516b1f400ab6dcf0 > 0001-configure-Allow-mixing-declara

Re: [FFmpeg-devel] [PATCH] configure: Allow mixing declarations and statements

2025-03-30 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Andreas Rheinhardt > Sent: Sonntag, 30. März 2025 17:37 > To: FFmpeg development discussions and patches > Subject: [FFmpeg-devel] [PATCH] configure: Allow mixing declarations and > statements > > Pat

Re: [FFmpeg-devel] [PATCH] configure: Allow mixing declarations and statements

2025-03-30 Thread Marvin Scholz
On 30 Mar 2025, at 17:37, Andreas Rheinhardt wrote: > Patch attached. > Yes please, +1 to this. > - Andreas > ___ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link ab

[FFmpeg-devel] [PATCH] configure: Allow mixing declarations and statements

2025-03-30 Thread Andreas Rheinhardt
Patch attached. - Andreas From b2a09f78b72d6c54115166297a95d0fc093eac00 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sun, 30 Mar 2025 17:26:05 +0200 Subject: [PATCH] configure: Allow mixing declarations and statements This C90 rule forces us to use a too big scope and should therefore