Multiple `mismatched-new-delete` warnings with gcc 11.3 and -Wall
Open
- Dominant language
- C++
- Stars
- 347
- Forks
- 47
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 1
Description
When building latest master (`53fded2`) with gcc 11.3 (Ubuntu 22.04) and `-Wall`, the compiler complains about mismatched new-delete warnings. See snippet below:
```
/home/jfp/async/test/async_for.cpp: In function ‘boost::async::generator test_data_gen()’:
/home/jfp/async/test/async_for.cpp:30:1: warning: ‘static void boost::async::promise_memory_resource_base::operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
30 | }
```
Is this warning safe to ignore?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.