warning: unused parameter or name
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- cpp
- Domain
- operating-systems
Research direction
Start with libs/process/include/boost/process/v1/pipe.hpp at the open overloads around lines 399, 507, and 615, then inspect libs/process/include/boost/process/v1/detail/windows/handles.hpp around lines 141, 157, and 164. Build the Windows Process code with unused-parameter warnings enabled and confirm that these warnings are resolved without introducing new diagnostics.
Written by the indexing model from the issue text.
Description
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
| ^
- Dominant language
- C++
- Stars
- 145
- Forks
- 151
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from boostorg/process
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
All issues in boostorg/process
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
google/libultrahdr#485 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
godotengine/godot#123776 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 60/100
-
good first issue
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
ros2/common_interfaces#344 ·