diff options
| author | Max Krummenacher <max.krummenacher@toradex.com> | 2024-06-01 14:35:01 +0200 |
|---|---|---|
| committer | Max Krummenacher <max.krummenacher@toradex.com> | 2024-06-01 15:43:58 +0200 |
| commit | a7a573a216d5a1ee3ac0349c886d454773a36627 (patch) | |
| tree | 6b8cb8d0205c5346cc7ce452d8f9151a7eb3ff5a /recipes-multimedia/gstreamer | |
| parent | e836f27b1cf3bee0ac23360428b17a4c10c6f414 (diff) | |
| download | meta-freescale-a7a573a216d5a1ee3ac0349c886d454773a36627.tar.gz | |
gstreamer1.0-plugins-base_1.22.5.imx: fix compile time error
GCC-14 set more warnings to errors, demote implicit-function-declaration to a warning.
Fixes:
| .../gst-libs/gst/gl/gstglphymemory.c:312:25: error: assignment to 'GDestroyNotify' {aka 'void (*)(void *)'} from incompatible pointer type 'void (*)(GstMemory *)' {aka 'void (*)(struct _GstMemory *)'} [-Wincompatible-pointer-types]
| .../gst-libs/gst/gl/gstglphymemory.c:345:7: error: passing argument 2 of 'gst_gl_context_thread_add' from incompatible pointer type [-Wincompatible-pointer-types]
| .../gst-libs/gst/gl/gstglphymemory.c:360:9: error: assignment to 'GstGLBaseMemory *' {aka 'struct _GstGLBaseMemory *'} from incompatible pointer type 'GstMemory *' {aka 'struct _GstMemory *'} [-Wincompatible-pointer-types]
| .../git/gst-libs/gst/gl/gstglupload.c:2154:51: error: passing argument 6 of 'directviv->TexDirectVIVMap' from incompatible pointer type [-Wincompatible-pointer-types]
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-multimedia/gstreamer')
| -rw-r--r-- | recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22.5.imx.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22.5.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22.5.imx.bb index dd7869a9b..944cf8f5e 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22.5.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22.5.imx.bb | |||
| @@ -135,6 +135,8 @@ PACKAGECONFIG_G2D:imxgpu2d ??= "g2d" | |||
| 135 | PACKAGECONFIG[g2d] = ",,virtual/libg2d" | 135 | PACKAGECONFIG[g2d] = ",,virtual/libg2d" |
| 136 | PACKAGECONFIG[viv-fb] = ",,virtual/libgles2" | 136 | PACKAGECONFIG[viv-fb] = ",,virtual/libgles2" |
| 137 | 137 | ||
| 138 | # GCC-14 otherwise errors out | ||
| 139 | CFLAGS += "-Wno-error=incompatible-pointer-types" | ||
| 138 | EXTRA_OEMESON += "-Dc_args="${CFLAGS} -I${STAGING_INCDIR_IMX}"" | 140 | EXTRA_OEMESON += "-Dc_args="${CFLAGS} -I${STAGING_INCDIR_IMX}"" |
| 139 | 141 | ||
| 140 | # links with imx-gpu libs which are pre-built for glibc | 142 | # links with imx-gpu libs which are pre-built for glibc |
