diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2025-05-12 09:37:52 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2025-05-12 15:50:19 +0200 |
commit | f5516c2fcd6217bf83736326e78b14cf64282e3a (patch) | |
tree | 2c45cb56fe9dd62070a1f698a1d15d296f8a9ea5 /classes/use-imx-headers.bbclass | |
parent | dc129ca65213d3dea3c8ab7ba5d6016605b44e7b (diff) | |
download | meta-freescale-f5516c2fcd6217bf83736326e78b14cf64282e3a.tar.gz |
linux-imx-headers: make uapi ipu.h, pxp_dma.h compatible with c23 standard
In C23 bool, false and true are reserved keywords.
Make ipu.h, pxp_dma.h uapi include file compatible with C23 standard.
The ipu.h header is i.e. used in the imx-gst1.0-plugin code.
If building with GCC 15 the build fails.
FAILED: libs/libgstfsl-1.0.so.0.0.0.p/v4l2_core_gstimxv4l2.c.o
...imx-gst1.0-plugin/4.9.2+git/recipe-sysroot/usr/include/imx/linux/ipu.h:32:23: error: 'bool' cannot be defined via 'typedef'
32 | typedef unsigned char bool;
That pxp_dma.h is affected was found with grep. A configuration which
actually includes the file is yet to be found.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'classes/use-imx-headers.bbclass')
0 files changed, 0 insertions, 0 deletions