You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My workaround for now is simply to add -Wno-incompatible-pointer-types (or -Wno-error=incompatible-pointer-types?) to the LIBLWIP_CFLAGS line in lwip's Makefile.uk.
The text was updated successfully, but these errors were encountered:
cluosh
added a commit
to cluosh/lib-lwip
that referenced
this issue
Dec 8, 2024
The invalid pointer warning becomes an error in gcc14, and it turns out
it's actually an invalid pointer, because it expects a pointer to a
struct with a type tag and not just the IPv4 address.
The invalid pointer warning becomes an error in gcc14, and it turns out
it's actually an invalid pointer, because it expects a pointer to a
struct with a type tag and not just the IPv4 address, if we have IPv4
and IPv6 enabled (otherwise it typedefs to the IPv4 address and
everything is fine).
When remaking my lwip-using unikernel on a new computer the build terminated on this error:
It appears that gcc version >= 14 will make
-Wincompatible-pointer-types
an error instead of warning by default: https://gcc.gnu.org/gcc-14/porting_to.htmlMy workaround for now is simply to add
-Wno-incompatible-pointer-types
(or-Wno-error=incompatible-pointer-types
?) to the LIBLWIP_CFLAGS line in lwip'sMakefile.uk
.The text was updated successfully, but these errors were encountered: