[vlc-devel] ActiveX, npapi: fixed VC 2008 compilation warnings.

Sergey Radionov rsatom at gmail.com
Thu Nov 24 07:41:11 CET 2011


VC give following warning on it:
Compiler Warning (level 3) C4800 'type' : forcing value to bool 'true' or
'false' (performance warning)

and discussion:
http://stackoverflow.com/questions/1847860/why-is-there-a-performance-warning-on-cast-pointer-to-bool

but I don't worry about it, just don't like any warnings along
compilations... just I can miss some realy important warning in batch of
not important

2011/11/24 Rémi Denis-Courmont <remi at remlab.net>

> On Thu, 24 Nov 2011 07:34:48 +0100, Rémi Denis-Courmont <remi at remlab.net>
> wrote:
> > bool r = libvlc_media_player_has_vout(libvlc_media_player);
> >
> > is better than both.
>
> In C. Not sure about C++.
>
> --
> Rémi Denis-Courmont
> http://www.remlab.net/
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20111124/9455c9d3/attachment.html>


More information about the vlc-devel mailing list