error: ISO C++11 requires at least one argument for the "..." in a variadic macro
还没有人认领这个 Issue。
评估
调研方向
从 project/bindings.cpp 中大约第 168 行的生成头文件开始,并使用 g++ --std=c++17 -Wall -Werror -pedantic-errors 重现失败。跟踪 DOC(PreStatus) 调用以及生成该调用的生成器输出。在这些标志下,生成的 bindings 能够在没有 ISO C++11 可变参数宏诊断的情况下编译通过,即表示完成。
由索引模型根据 Issue 内容生成。
描述
When compiling bindings output with g++ --std=c++17 -Wall -Werror -pedantic-errors, generated header is not conformant:
project/bindings.cpp:168:55: error: ISO C++11 requires at least one argument for the "..." in a variadic macro
168 | py::enum_<PreStatus>(m, "PreStatus", DOC(PreStatus))
- 主要语言
- Python
- 星标
- 44
- 派生
- 24
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
pybind/pybind11_mkdoc 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 35/100
pybind/pybind11_mkdoc#36 · 3 条评论 ·
-
难度 4/5 3-5 天 新手友好度 28/100
pybind/pybind11_mkdoc#28 · 4 条评论 · 1 个 reaction ·
查看 pybind/pybind11_mkdoc 的全部 Issue
相似的 Issue
-
app: scripts Bucket: KTLO status: backlog type: housekeeping
难度 2/5 1-3 小时 新手友好度 68/100
netbox-community/netbox-scripts#217 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 64/100
-
ApacheTomcatImporterPipeline truncates milestone fixed versions (e.g. 11.0.0-M6 -> 11.0.0)可能已有人在做 @nikolya-ctrl 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 85/100
aboutcode-org/vulnerablecode#2533 ·
维护者通常 5 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
PermafrostDiscoveryGateway/water-timeseries-v2#312 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
ClickHouse/dbt-clickhouse#829 ·
维护者通常 1 天内回复