esp8266 / esp8266/Arduino

"LWIP_NO_CTYPE_H" redefined

Open
#9,294 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
16.7k
Forks
13.1k
PR merge metrics
No merged PRs in 30d

Description

3.1.2/tools/sdk/lwip2/include/lwip/arch.h defines LWIP_NO_CTYPE_H on line 215:

```
214 | #ifndef LWIP_NO_CTYPE_H
215 | #define LWIP_NO_CTYPE_H 0
216 | #endif
```

3.1.2/tools/sdk/lwip2/include/arch/cc.h then defines it again on line 68:

`68 | #define LWIP_NO_CTYPE_H 1`

Result is an redefine error.

Wrapping with an #ifndef removes the warning and the sketch compiles ok, but I'm unsure if this is the right thing to do.
```
68 | #ifndef LWIP_NO_CTYPE_H
69 | #define LWIP_NO_CTYPE_H 1
70 | #endif
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.