[MPlayer-dev-eng] int vs. bool

Reimar Döffinger Reimar.Doeffinger at gmx.de
Fri Nov 30 19:42:31 CET 2012


On Fri, Nov 30, 2012 at 07:09:53PM +0100, Ingo Brückl wrote:
> Are there any objections to using data type bool, or are there disadvantages
> or possible problems?

IMHO it is not a good idea.
1) We are not using it anywhere, not even in FFmpeg
2) It was "only" added in C99 so in some special cases compiler support
might still be lacking
3) In my experience, lots of developers are completely oblivious to its
exact semantics and in particular which performance effects they have.


More information about the MPlayer-dev-eng mailing list