HDFGroup / HDFGroup/vol-tests

Remove compiler warning for `vol-tests/driver/h5vl_test_driver.cxx`

Open
#40 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
4
Forks
12
PR merge metrics
No merged PRs in 30d

Description

```
-- The C compiler identification is GNU 11.3.0
...
/home/runner/work/vol-daos/vol-daos/test/vol/driver/h5vl_test_driver.cxx:484:23: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
407
484 | system(command.c_str()); \
408
| ~~~~~~^~~~~~~~~~~~~~~~~
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Open vol-tests/driver/h5vl_test_driver.cxx around line 484 and inspect the system(command.c_str()) call that triggers the GNU 11.3.0 warning. Run the relevant test build or CI command, then confirm the compiler no longer reports the unused-result warning.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
testing-qa
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.