[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #51463] posix/errno.h incompatible with LWIP_ERRNO_STD
From: |
Joel Cunningham |
Subject: |
[lwip-devel] [bug #51463] posix/errno.h incompatible with LWIP_ERRNO_STDINCLUDE |
Date: |
Thu, 13 Jul 2017 20:17:04 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0 |
URL:
<http://savannah.nongnu.org/bugs/?51463>
Summary: posix/errno.h incompatible with
LWIP_ERRNO_STDINCLUDE
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: jcunningham
Submitted on: Fri 14 Jul 2017 12:17:03 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:
In my port, I'm trying to make use of the posix compatibility headers and have
LWIP_ERRNO_STDINCLUDE set to 1. In my project, the standard C library errno.h
is the canonical one.
posix/errno.h is creating a problem because once in the build system, files
are picking it up and then it includes lwip/errno.h, which is empty because
LWIP_ERRNO_STDINCLUDE is trying to include the standard C library errno.h, but
gets posix/errno.h (lwip/errno.h does not get included again due to #ifndef
LWIP_HDR_ERRNO_H).
I've confirmed this by deleting posix/errno.h and things work as expected,
with the standard C library errno.h now satisfying the dependency
Was the motivation behind the posix/errno.h addition to allow LwIP to provide
a canonical errno.h for the entire project (LwIP sources + other files)? I
like this idea, but would prefer it be separate from the posix headers (my
build system can't blacklist a single header). Also, errno.h is part of the
standard C library, would it make more sense as include/stdclib/errno.h?
Thanks
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?51463>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #51463] posix/errno.h incompatible with LWIP_ERRNO_STDINCLUDE,
Joel Cunningham <=
- [lwip-devel] [bug #51463] posix/errno.h incompatible with LWIP_ERRNO_STDINCLUDE, Joel Cunningham, 2017/07/14
- [lwip-devel] [bug #51463] posix/errno.h incompatible with LWIP_ERRNO_STDINCLUDE, Simon Goldschmidt, 2017/07/14
- [lwip-devel] [bug #51463] posix/errno.h incompatible with LWIP_ERRNO_STDINCLUDE, Simon Goldschmidt, 2017/07/14
- [lwip-devel] [bug #51463] posix/errno.h incompatible with LWIP_ERRNO_STDINCLUDE, Joel Cunningham, 2017/07/14
- [lwip-devel] [bug #51463] posix/errno.h incompatible with LWIP_ERRNO_STDINCLUDE, Simon Goldschmidt, 2017/07/16
- [lwip-devel] [bug #51463] posix/errno.h incompatible with LWIP_ERRNO_STDINCLUDE, Joel Cunningham, 2017/07/17
- [lwip-devel] [bug #51463] posix/errno.h incompatible with LWIP_ERRNO_STDINCLUDE, Simon Goldschmidt, 2017/07/17
- [lwip-devel] [bug #51463] posix/errno.h incompatible with LWIP_ERRNO_STDINCLUDE, Joel Cunningham, 2017/07/17
- [lwip-devel] [bug #51463] posix/errno.h incompatible with LWIP_ERRNO_STDINCLUDE, Simon Goldschmidt, 2017/07/20
- [lwip-devel] [bug #51463] posix/errno.h incompatible with LWIP_ERRNO_STDINCLUDE, Joel Cunningham, 2017/07/20