warning: unused parameter or name
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- cpp
调研方向
从 libs/process/include/boost/process/v1/pipe.hpp 中 399、507 和 615 行附近的 open 重载开始,然后检查 libs/process/include/boost/process/v1/detail/windows/handles.hpp 中 141、157 和 164 行附近的内容。启用未使用参数警告来构建 Windows Process 代码,并确认这些警告已得到解决且没有引入新的诊断信息。
由索引模型根据 Issue 内容生成。
描述
would be nice to fix this warn
In file included from D:\git\boost_\libs\process\include\boost/process/v1/io.hpp:14:
D:\git\boost_\libs\process\include\boost/process/v1/pipe.hpp(399,35): warning: unused parameter 'name' [-Wunused-parameter]
399 | void open(const std::string & name)
| ^
D:\git\boost_\libs\process\include\boost/process/v1/pipe.hpp(507,35): warning: unused parameter 'name' [-Wunused-parameter]
507 | void open(const std::string & name)
| ^
D:\git\boost_\libs\process\include\boost/process/v1/pipe.hpp(615,35): warning: unused parameter 'name' [-Wunused-parameter]
615 | void open(const std::string & name)
| ^
D:\git\boost_\libs\process\include\boost/process/v1/detail/windows/handles.hpp(141,45): warning: unused variable 'flags' [-Wunused-variable]
141 | ::boost::winapi::DWORD_ flags = 0u;
| ^~~~~
D:\git\boost_\libs\process\include\boost/process/v1/detail/windows/handles.hpp(157,30): warning: unused parameter 'exec' [-Wunused-parameter]
157 | void on_error(Executor & exec, const std::error_code & ec) const
| ^
D:\git\boost_\libs\process\include\boost/process/v1/detail/windows/handles.hpp(157,60): warning: unused parameter 'ec' [-Wunused-parameter]
157 | void on_error(Executor & exec, const std::error_code & ec) const
| ^
D:\git\boost_\libs\process\include\boost/process/v1/detail/windows/handles.hpp(164,32): warning: unused parameter 'exec' [-Wunused-parameter]
164 | void on_success(Executor & exec) const
| ^
- 主要语言
- C++
- 星标
- 145
- 派生
- 151
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
boostorg/process 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 1/5 1 小时以内 新手友好度 72/100
-
难度 1/5 1 小时以内 新手友好度 68/100
-
难度 4/5 3-5 天 新手友好度 45/100
-
难度 5/5 一周以上 新手友好度 35/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
flutter-webrtc/flutter-webrtc#2206 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
google-ai-edge/LiteRT-LM#3739 ·
-
Component: GLib
难度 2/5 1-3 小时 新手友好度 70/100
-
Mute ydb/tests/functional/dstool/test_canonical_requests.py.Test.test_group_take_snapshot in main 未关闭ai_reviewed
难度 2/5 1-3 小时 新手友好度 70/100
ydb-platform/ydb#53974 · 3 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
google/libultrahdr#485 ·