<html><head></head><body>Yes and last I checked, VLC includes libavutil header files.<br><br><div class="gmail_quote">Le 2 octobre 2019 13:27:38 GMT+03:00, Steve Lhomme <robux4@ycbcr.xyz> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">On 2019-10-02 12:20, Rémi Denis-Courmont wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">And VLC depends on some libraries that rely on bad casts, notably <br>libavutil (heap helpers).<br></blockquote><br>This is the configure script of VLC, not the contribs. I use this flag <br>all day long on Win32 and Linux builds with no issue. That enables <br>spotting errors like the AMT one very quickly.<br><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">Le 2 octobre 2019 13:18:30 GMT+03:00, "Rémi Denis-Courmont" <br><remi@remlab.net> a écrit :<br><br> Next people will add incorrect manual casts to silence the errors<br> instead of fixing them properly. Not a good idea.<br><br> Le 2 octobre 2019 13:14:14 GMT+03:00, Romain Vimont<br> <rom1v@videolabs.io> a écrit :<hr> configure.ac | 2 +-<br> 1 file changed, 1 insertion(+), 1 deletion(-)<br><br> diff --git a/configure.ac b/configure.ac<br> index 210b4ca537..2fa70daf22 100644<br> --- a/configure.ac<br> +++ b/configure.ac<br> @@ -988,7 +988,7 @@ dnl<br> AX_APPEND_COMPILE_FLAGS([-Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -Wformat -Wformat-security -Wduplicated-branches -Wduplicated-cond], [CFLAGS])<br> AX_APPEND_COMPILE_FLAGS([-Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -Wformat -Wformat-security -Wduplicated-branches -Wduplicated-cond], [CXXFLAGS])<br> <br> -AX_APPEND_COMPILE_FLAGS([-Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Werror-implicit-function-declaration -Winit-self -Wlogical-op -Wshadow=local -Wmultistatement-macros], [CFLAGS])<br> +AX_APPEND_COMPILE_FLAGS([-Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Werror-implicit-function-declaration -Winit-self -Wlogical-op -Wshadow=local -Wmultistatement-macros -Werror=incompatible-pointer-types], [CFLAGS])<br> AX_APPEND_COMPILE_FLAGS([-pipe], [CFLAGS])<br> <br> dnl<br><br><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser <br>ma brièveté.<hr>vlc-devel mailing list<br>To unsubscribe or modify your subscription options:<br><a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a><br><br></blockquote><hr>vlc-devel mailing list<br>To unsubscribe or modify your subscription options:<br><a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a></pre></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>