[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #58302] Problem compiling src/apps/http/http_client.c

From: Steve Wartik
Subject: [lwip-devel] [bug #58302] Problem compiling src/apps/http/http_client.c
Date: Mon, 4 May 2020 14:00:24 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0


                 Summary: Problem compiling src/apps/http/http_client.c
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: spwartik
            Submitted on: Mon 04 May 2020 06:00:22 PM UTC
                Category: apps
                Severity: 3 - Normal
              Item Group: Change Request
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
            lwIP version: git head



Files httpc_client.h and httpc_client.c both declare httpc_state_t as a
typedef.  GCC, when used with the -std=gnu99 flag, fails with the error:

     lwip/src/apps/http/http_client.c:153:3: error: redefinition of typedef
‘httpc_state_t’ [-Werror=pedantic]
      } httpc_state_t;

The attached script is the make instruction to compile http_client.c.  It
differs from what cmake generates by default only in the addition of the
-std=gnu99 flag. Run it from the root directory of lwip to see the full
diagnostic messages. 

Can the definition of the structure be moved from http_client.c to


File Attachments:

Date: Mon 04 May 2020 06:00:22 PM UTC  Name: script.sh  Size: 541B   By:



Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]