lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #58468] mqtt cannot use mqtt_client static allocation


From: Mike Protts
Subject: [lwip-devel] [bug #58468] mqtt cannot use mqtt_client static allocation based on documented example
Date: Sun, 31 May 2020 06:13:07 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; CrOS x86_64 12871.102.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.141 Safari/537.36

URL:
  <https://savannah.nongnu.org/bugs/?58468>

                 Summary: mqtt cannot use mqtt_client static allocation based
on documented example
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: mikeprotts
            Submitted on: Sun 31 May 2020 10:13:05 AM 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

    _______________________________________________________

Details:

This is a change between 2.0.3 and 2.1.7.  After upgrading, the following
compiler error is seen:

 error: storage size of 'leela_mqtt_client' isn't known
 static mqtt_client_t leela_mqtt_client;

This is because the structure is now defined in mqtt_priv.h (line 69) instead
of mqtt.h (176), and including the former resolves the problem.  However I
think the static example should work as previously, without needing the extra
include file.

Mike




    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?58468>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

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