[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #62159] Http doesn't compile with LWIP_DEBUG and LWIP_
From: |
Jarno Malmari |
Subject: |
[lwip-devel] [bug #62159] Http doesn't compile with LWIP_DEBUG and LWIP_TCP_KEEPALIVE |
Date: |
Wed, 9 Mar 2022 06:24:49 -0500 (EST) |
URL:
<https://savannah.nongnu.org/bugs/?62159>
Summary: Http doesn't compile with LWIP_DEBUG and
LWIP_TCP_KEEPALIVE
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: jmalmari
Submitted on: Wed 09 Mar 2022 11:24:47 AM UTC
Category: apps
Severity: 3 - Normal
Item Group: Compiler Warning
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
lwIP version: git head
_______________________________________________________
Details:
In apps/http/altcp_proxyconnect.c, defining both of the above definitions
makes altcp_proxyconnect_functions initialization list out of sync with its
type altcp_functions.
Compilation failed because it was trying to initialize
altcp_keepalive_disable_fn with altcp_default_dbg_get_tcp_state.
Not defining LWIP_DEBUG compiles but initializes altcp_keepalive_disable_fn
and altcp_keepalive_enable_fn as nulls. I wonder if that's ok.
% git describe
STABLE-2_1_0_RELEASE-542-g215dec65
% git grep 'set(LWIP_VERSION_' src/Filelists.cmake
src/Filelists.cmake:set(LWIP_VERSION_MAJOR "2")
src/Filelists.cmake:set(LWIP_VERSION_MINOR "2")
src/Filelists.cmake:set(LWIP_VERSION_REVISION "0")
src/Filelists.cmake:set(LWIP_VERSION_RC "LWIP_RC_DEVELOPMENT")
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/bugs/?62159>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-devel] [bug #62159] Http doesn't compile with LWIP_DEBUG and LWIP_TCP_KEEPALIVE,
Jarno Malmari <=