[FFmpeg-devel] [PATCH] Tell gcc not to "suggest" unnecessary parentheses
Michael Niedermayer
michaelni
Thu Jul 1 23:46:27 CEST 2010
On Thu, Jul 01, 2010 at 02:38:43PM +0200, Diego Elio ?Flameeyes? Petten? wrote:
> Il giorno mer, 30/06/2010 alle 22.17 -0700, Eli Friedman ha scritto:
> >
> > Patch attached. We should either do this or commit patches like
> > http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2010-June/091646.html
> > to fix the warnings (I don't have a preference either way).
iam slightly in favor of disabling () warnings
>
> If I may give a suggestion, keep the warning as it can help spotting
>
> if ( foo = 1 )
>
> where the assignment wasn't intended.
does our patcheck check for this?
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100701/3f43d2fc/attachment.pgp>
More information about the ffmpeg-devel
mailing list