[FFmpeg-devel] [PATCH] configure: Allow mixing declarations and statements
Michael Niedermayer
michael at niedermayer.cc
Sun Mar 30 22:03:11 EEST 2025
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-declarations-and-statements.patch
> From b2a09f78b72d6c54115166297a95d0fc093eac00 Mon Sep 17 00:00:00 2001
> From: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> 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 be dropped. Given that we already require C11,
> all supported compilers can handle mixed declarations
> and statements just fine.
+1
but wait a bit so everyone has a chance to comment
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Some people wanted to paint the bikeshed green, some blue and some pink.
People argued and fought, when they finally agreed, only rust was left.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250330/872506da/attachment.sig>
More information about the ffmpeg-devel
mailing list