mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 13:11:06 +00:00
1b74f039ab
The `G_DECLARE_FINAL_TYPE` macro does not need to be terminated with a semicolon and the extra semicolon breaks building e.g. libcamera with clang because `-Wextra-semi` is used which produces the following error in conjunction with `-Werror`: ``` gstreamer-1.0/gst/allocators/gstdrmdumb.h:61:43: error: extra ';' outside of a function is incompatible with C++98 [-Werror,-Wc++98-compat-extra-semi] 61 | GST, DRM_DUMB_ALLOCATOR, GstAllocator); | ^ 1 error generated. ``` Fix this by removing the extra semicolon Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6239> |
||
---|---|---|
.. | ||
allocators-prelude.h | ||
allocators.h | ||
gstdmabuf.c | ||
gstdmabuf.h | ||
gstdrmdumb.c | ||
gstdrmdumb.h | ||
gstfdmemory.c | ||
gstfdmemory.h | ||
gstphysmemory.c | ||
gstphysmemory.h | ||
gstshmallocator.c | ||
gstshmallocator.h | ||
meson.build |