flatcc: Fix build warnings found with clang-18

Fix what we can, and also disable warning-as-error as some compilers can
be quite ambitious.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2024-02-01 18:51:17 -08:00
parent b4d8d8626e
commit b239853fd3
2 changed files with 33 additions and 0 deletions
@@ -10,6 +10,7 @@ PV = "0.6.2+gitr${SRCPV}"
SRC_URI = " \
git://github.com/dvidelabs/flatcc.git;protocol=https;branch=master \
file://0001-Check-for-C-standard-version-23-for-__fallthrough__.patch \
"
SRCREV = "1653ec964730ec7d9892a08a1695ada6d20f5196"
@@ -22,6 +23,7 @@ inherit cmake
EXTRA_OECMAKE += " \
-DFLATCC_INSTALL=On \
-DFLATCC_TEST=Off \
-DFLATCC_ALLOW_WERROR=Off \
"
BBCLASSEXTEND = "native nativesdk"