P2P mechanism does not compile/fit (ISPCS2022 tests)
Testing v5 of WRPC:
- wrpc-sw repo: 2a1a5a5b64536
- ppsi repo: b9eb3b04
Trying to use P2P mechanism, i.e.tried to compile for P2P
- errors
proto-standard/msg-p2p.c: In function 'msg_pack_pdelay_resp_follow_up':
proto-standard/msg-p2p.c:23:38: error: initialization discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
23 | struct pp_msgtype_info *mf = pp_msgtype_info + PPM_PDELAY_R_FUP_FMT;
| ^~~~~~~~~~~~~~~
proto-standard/msg-p2p.c: In function 'msg_pack_pdelay_req':
proto-standard/msg-p2p.c:65:38: error: initialization discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
65 | struct pp_msgtype_info *mf = pp_msgtype_info + PPM_PDELAY_REQ_FMT;
| ^~~~~~~~~~~~~~~
proto-standard/msg-p2p.c: In function 'msg_pack_pdelay_resp':
proto-standard/msg-p2p.c:91:38: error: initialization discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
91 | struct pp_msgtype_info *mf = pp_msgtype_info + PPM_PDELAY_RESP_FMT;
| ^~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
<builtin>: recipe for target 'proto-standard/msg-p2
- when fixed, it does not fit