Предупреждения при сборке библиотеки
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 65/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- cpp
- Domain
- build-system
Research direction
Start in src/helpers/path.cpp at get_current_working_directory(), specifically the getcwd call reported at line 16. Run the project build to reproduce the warning, then verify that the build completes without this warning after the issue is addressed.
Written by the indexing model from the issue text.
Description
/home/ormprobot/libmimes/src/helpers/path.cpp: In static member function ‘static std::__cxx11::string helpers::path::get_current_working_directory()’:
/home/ormprobot/libmimes/src/helpers/path.cpp:16:35: warning: ignoring return value of ‘char* getcwd(char*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
getcwd(buff, FILENAME_MAX);
^
/home/ormprobot/libmimes/src/helpers/path.cpp: In static member function ‘static std::__cxx11::string helpers::path::get_current_working_directory()’:
/home/ormprobot/libmimes/src/helpers/path.cpp:16:35: warning: ignoring return value of ‘char* getcwd(char*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
getcwd(buff, FILENAME_MAX);
- Dominant language
- C++
- Stars
- 0
- Forks
- 0
- 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 DirectumCompany/libmimes
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
All issues in DirectumCompany/libmimes
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AXERA-TECH/ax-llm#77 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
games-on-whales/wolf#509 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
bug-unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
NVIDIA/cuda-samples#453 ·