lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #53758] PACK_STRUCT_USE_INCLUDES


From: John
Subject: [lwip-devel] [bug #53758] PACK_STRUCT_USE_INCLUDES
Date: Thu, 26 Apr 2018 05:28:03 -0400 (EDT)
User-agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 5.1) Opera 12.17

URL:
  <http://savannah.nongnu.org/bugs/?53758>

                 Summary: PACK_STRUCT_USE_INCLUDES
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: grape2001
            Submitted on: Thu 26 Apr 2018 09:28:01 AM UTC
                Category: None
                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:

may be it's good to move PACK_STRUCT_USE_INCLUDES into
PACK_STRUCT_BEGIN/PACK_STRUCT_END macros since all are defined
in arch/cc.h and are used together.

#ifdef PACK_STRUCT_USE_INCLUDES
#  include "arch/bpstruct.h"
#endif
PACK_STRUCT_BEGIN
struct xxxxxxx {
.....
} PACK_STRUCT_STRUCT;
PACK_STRUCT_END
#ifdef PACK_STRUCT_USE_INCLUDES
#  include "arch/epstruct.h"
#endif





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?53758>

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




reply via email to

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