"LWIP_NO_CTYPE_H" redefined
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- cpp
调研方向
检查 3.1.2/tools/sdk/lwip2/include/lwip/arch.h 和 3.1.2/tools/sdk/lwip2/include/arch/cc.h,尤其是两个 LWIP_NO_CTYPE_H 定义及其 include 顺序。通过编译受影响的 sketch 来重现重复定义错误,然后验证所选择的 guard 或定义能够保留预期值,并且 sketch 在没有警告的情况下完成构建。
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- C++
- 星标
- 16.7k
- 派生
- 13.1k
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
esp8266/Arduino 的其他 Issue
-
Typo in Scan Class Documentation可能已有人在做 @MukundaKatta 于 183 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 62/100
-
lwip2 time-wait.patch: TCP_TW_LIMIT can abort the pcb that tcp_process() is still handling -> double free, heap corruption可能已有人在做 @scardus 于 17 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 52/100
-
难度 3/5 1-2 天 新手友好度 65/100
-
难度 4/5 3-5 天 新手友好度 42/100
相似的 Issue
-
[Cleanup] Include the public header in work_split.cpp可能已有人在做 @blozano-tt 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
tenstorrent/tt-metal#60850 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
beehive-lab/TornadoVM#1248 ·
维护者通常 1 天内回复
-
core: RAC_LLM_OPTIONS_DEFAULT.min_p disagrees with the IDL's annotated default可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭bug core p3
难度 2/5 1-3 小时 新手友好度 70/100
RunanywhereAI/runanywhere-sdks#1083 ·
维护者通常 5 天内回复
-
难度 1/5 1 小时以内 新手友好度 75/100
tesseract-ocr/tesseract#4653 ·
维护者通常 1 天内回复
-
area: docs eco: cpp good first issue help wanted lane: free-agent roadmap size: XS type: docs
难度 2/5 1-3 小时 新手友好度 70/100
arminazimi/evergreen#475 ·
维护者通常 1 天内回复