[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-devel] unix port build failure
From: |
Joel Cunningham |
Subject: |
Re: [lwip-devel] unix port build failure |
Date: |
Tue, 07 Mar 2017 20:23:20 -0600 |
Another build issue I’m seeing from today’s round of changes is (seen with
MSVC):
1>e:\projects\lwip\src\api\sockets.c(1142): error C2065: 'MSG_NOSIGNAL' :
undeclared identifier
Joel
> On Mar 7, 2017, at 5:33 PM, Axel Lin <address@hidden> wrote:
>
> Hi,
> I got below build failure:
> cc -g -Wall -DLWIP_DEBUG -pedatntic -Werror -Wparentheses
> -Wsequence-point -Wswitch-default -Wextra -Wundef -Wshadow
> -Wpointer-arith -Wcast-qual -Wc++-compat -Wwrite-strings
> -Wold-style-definition -Wcast-align -Wmissing-prototypes
> -Wredundant-decls -Wnested-externs -Wno-address -Wunreachable-code
> -Wuninitialized -Wlogical-op -I. -I../../..
> -I../../../../lwip/src/include -I../../../ports/unix/port/include -c
> ../../../../lwip/src/api/api_lib.c
> ../../../../lwip/src/api/api_lib.c: In function
> ‘netconn_write_vectors_partly’:
> ../../../../lwip/src/api/api_lib.c:903:21: error: ‘INT_MAX’ undeclared
> (first use in this function)
> } else if (size > INT_MAX) {
> ^~~~~~~
> ../../../../lwip/src/api/api_lib.c:903:21: note: each undeclared
> identifier is reported only once for each function it appears in
> ../Common.mk:93: recipe for target 'api_lib.o' failed
> make: *** [api_lib.o] Error 1
>
> _______________________________________________
> lwip-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/lwip-devel