[vlc-devel] [PATCH 2/3] configure: add -Werror=incompatible-pointer-types option to the compiler
Rémi Denis-Courmont
remi at remlab.net
Wed Dec 18 10:03:59 CET 2019
That's exactly what's wrong. They're warnings and they should stay that way.
You're welcome to attend to them.
Le 18 décembre 2019 10:13:42 GMT+02:00, Steve Lhomme <robux4 at ycbcr.xyz> a écrit :
>On 2019-12-17 18:20, Rémi Denis-Courmont wrote:
>> Le tiistaina 17. joulukuuta 2019, 16.09.28 EET Steve Lhomme a écrit :
>>> This avoid using pointers of different types. It may lead to serious
>issues
>>> in the code so rather than a warning, it should be avoided/fixed.
>>
>> This will raise warnings in harmless cases of implicit conversions.
>Some of
>
>It's not adding any warning. It's turning existing (unattended)
>warnings
>into errors.
>
>> those might not be easily fixable - coming from external headers.
>
>True, but it seems we have none of these on Windows, Linux (and macOS
>I'm told). I'd rather not allow new code using dirty pointer casts,
>even
>from external library headers.
>_______________________________________________
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:
>https://mailman.videolan.org/listinfo/vlc-devel
--
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20191218/f7ea96b7/attachment.html>
More information about the vlc-devel
mailing list