[FFmpeg-devel] [PATCH] configure: remove the mixed declarations and code warning flag

Nicolas George george at nsup.org
Thu Feb 4 17:30:06 CET 2016


Le sextidi 16 pluviôse, an CCXXIV, Derek Buitenhuis a écrit :
> I do mind for loops, but I consider, along with VLAs, mixed code and var
> decls to be bad practice, myself.

I tend to agree, although I would not put it on the same level as VLAs: VLAs
are really harder to compile for the compiler, and can cause performance
issues or even security problems (no check for overflow). OTOH, mixed
declarations are just a matter of readability.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160204/ebea34ed/attachment.sig>


More information about the ffmpeg-devel mailing list