xeniter 0 Newbie Poster

Has anyone tried to compile the LWIP with a c++ compiler?

TCPIP/os/system/lwip/core/memp.c
/TCPIP/os/system/lwip/core/pbuf.h:37,
from /TCPIP/os/system/lwip/core/memp_std.h:1,
from /TCPIP/os/system/lwip/core/memp.h:45,
from /TCPIP/os/system/lwip/core/memp.c:43:
/TCPIP/os/system/lwip/core/err.h:41: error: expected identifier before ‘extern’
/TCPIP/os/system/lwip/core/err.h:41: error: expected `}' before ‘extern’

The compilter (g++) serachs the } from enum in the include files.
Has anyone a idea what i must change to compile it?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.