i-rinat / libvdpau-va-gl

VDPAU driver with OpenGL/VAAPI backend
MIT License
161 stars 26 forks source link

implicit declaration of function ‘calc_difference_r8g8b8a8’ #24

Closed Nikoli closed 10 years ago

Nikoli commented 10 years ago

Gentoo package manager prints this warning when building commit a7bf701c3d61dacde50c895d9449260d85bcbb08:

 * QA Notice: Package triggers severe warnings which indicate that it
 *            may exhibit random runtime failures.
 * /var/package-manager/tmp/portage/x11-libs/libvdpau-va-gl-9999/work/libvdpau-va-gl-9999/tests/test-004.c:62:5: warning: implicit declaration of function ‘calc_difference_r8g8b8a8’ [-Wimplicit-function-declaration]
 * Please do not file a Gentoo bug and instead report the above QA
 * issues directly to the upstream developers of this software.
i-rinat commented 10 years ago

Fixed in https://github.com/i-rinat/libvdpau-va-gl/commit/3a238e206e1be8ce1f3b216454bbc8de87adf611

Thanks for reporting. There is apparently a bug in gcc-4.8+ccache bundle -- they fail to identify implicit function declarations.