stdpain opened a new issue #1379:
URL: https://github.com/apache/incubator-brpc/issues/1379
brpc-0.9.7
```
bvar/detail/series.h:131:23: warning: 'void* memset(void*, int, size_t)'
clearing an object of non-trivial type 'struct bvar::Stat'; use assignment or
value-initialization instead [-Wclass-memaccess]
......
include/bvar/detail/percentile.h:240:7: note: 'class
bvar::detail::PercentileSamples<254>' declared here
240 | class PercentileSamples {
| ^~~~~~~~~~~~~~~~~
include/bvar/recorder.h:33:8: note: 'struct bvar::Stat' declared here
33 | struct Stat {
```
warning太多了,还不太想屏蔽这个warning,请问有patch能修复这个吗
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]