Skip to content

"LWIP_NO_CTYPE_H" redefined #9294

@MrToM528

Description

@MrToM528

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions