2018-04-15 15:16 GMT+02:00, Reino Wijnsma <[email protected]>:

> I've just compiled a fresh build from git (955fa23) (on Windows using
> Cygwin, MinGW and GCC).

> It compiled without errors, but I did get quite some warnings!

I think you get a small number but anyway.
The main reason this wasn't tested lately was that last gcc
showed a larger number of invalid warnings.

[...]

> libavfilter/vf_frei0r.c:193:30: warning: unused variable 'frei0r_pathlist'

Compiler bug?

> ./compat/avisynth/avisynth_c.h

Not maintained within FFmpeg.

> libavformat/hlsenc.c: In function 'get_default_pattern_localtime_fmt':
> libavformat/hlsenc.c:1676:63: warning: unknown conversion type character 's' 
> in format
>         return (HAVE_LIBC_MSVCRT || !strftime(b, sizeof(b), "%s", p)

What does "grep HAVE_LIBC_MSVCRT config.h" show for you?

> libavformat/os_support.c:248:23: warning: comparison of unsigned expression < 
> 0 is always false
>          if (fds[i].fd < 0)

fd is signed here, I doubt this can be silenced.

> libavutil/hwcontext_d3d11va.c: In function 'd3d11va_transfer_data':
> libavutil/hwcontext_d3d11va.c:413:49: warning: passing argument 3 of 
> 'av_image_copy' from incompatible pointer type

Does changing the third argument of av_image_copy() in libavutil/imgutils.h
into "const uint8_t * const src_data[4]" silence anything?
(Only hwcontext_d3d11va.o testing required, breaks imgutils.o compilation)

> libavutil/hwcontext_d3d11va.c:554:46: note: expected 'DXGI_ADAPTER_DESC * 
> {aka struct DXGI_ADAPTER_DESC *}' but argument is of type 'DXGI_ADAPTER_DESC2 
> * {aka struct DXGI_ADAPTER_DESC2 *}'

I wonder if this is a bug...

Silenced a few others, Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to