enchant2: Disable incompatible-pointer-types warning as error
PATCH 1/1 enchant2: Disable incompatible-pointer-types warning as error
This fixes build with GCC-14
Signed-off-by Khem Raj <[email protected]>
--- meta/recipes-support/enchant/enchant2_2.7.2.bb | 4 ++++ 1 file changed, 4 insertions(+)
meta/recipes-support/enchant/enchant2_2.7.2.bb +4 -0
@@ -27,3 +27,7 @@ FILES:${PN} += " \ ${libdir}/enchant-2 \ " FILES:${PN}-staticdev += "${libdir}/enchant-2/*.a" + +#api.vala:43:18: error: assignment to 'gchar **' {aka 'char **'} from incompatible pointer type 'const gchar * const*' {aka 'const char * const*'} [-Wincompatible-pointer-types] + +CFLAGS += "-Wno-error=incompatible-pointer-types"
Signature · 1 line
2.45.0
meta/recipes-support/enchant/enchant2_2.7.2.bb FILES:${PN} += " \
Quoted 3 lines · Khem Raj via lists.openembedded.org
meta/recipes-support/enchant/enchant2_2.7.2.bb +3
-0+#api.vala:43:18: error: assignment to 'gchar **' {aka 'char **'} from incompatible pointer type 'const gchar * const*' {aka 'const char * const*'} [-Wincompatible-pointer-types] + +CFLAGS += "-Wno-error=incompatible-pointer-types”
I poked upstream about this: this is basically a vala bug and if we upgrade vala or enchant then it will be resolved:
https://github.com/AbiWord/enchant/issues/379#issuecomment-2102590822
Ross