[FFmpeg-cvslog] build: error on mixed declarations and code
Alexander Strasser
eclipse7 at gmx.net
Tue Dec 27 21:37:24 CET 2011
Hi,
Nicolas George wrote:
> Le duodi 2 nivôse, an CCXX, Mans Rullgard a écrit :
> > build: error on mixed declarations and code
>
> Do we really want it? In the last days I noticed it was really annoying
> while debugging. I expect most developers will disable it somehow pretty
> soon, and if they forget to cleanup before pushing, this will break build
> on most common architectures, not just on old compilers.
couldn't it be easily simulated for debugging like in:
void f1(void)
int ret
/* ... */
ret = f2()
{
int h = ret + 1;
/* ... */
}
}
In that case it might be easier to spot the left-over
debugging code. OTOH maybe it is just me. So no objection
either way.
Alexander
More information about the ffmpeg-cvslog
mailing list