mirror of https://github.com/sipwise/sems.git
Don't store variables in a processor register but store as usually in memory. Resolves: 10: 32:12 AmSdp.cpp: In function 'bool parse_sdp_line_ex(AmSdp*, char*&)': 10: 32:12 AmSdp.cpp:571:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 10: 32:12 571 | register parse_st state; 10: 32:12 | ^~~~~ 10: 32:12 AmSdp.cpp: In function 'char* parse_sdp_connection(AmSdp*, char*, char)': 10: 32:12 AmSdp.cpp:757:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 10: 32:12 757 | register sdp_connection_st state; 10: 32:12 | ^~~~~ 10: 32:12 AmSdp.cpp: In function 'void parse_sdp_media(AmSdp*, char*)': 10: 32:12 AmSdp.cpp:838:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 10: 32:12 838 | register sdp_media_st state; 10: 32:12 | ^~~~~ 10: 32:12 AmSdp.cpp: In function 'char* parse_sdp_attr(AmSdp*, char*)': 10: 32:12 AmSdp.cpp:1038:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 10: 32:12 1038 | register sdp_attr_rtpmap_st rtpmap_st; 10: 32:12 | ^~~~~~~~~ 10: 32:12 AmSdp.cpp:1039:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 10: 32:12 1039 | register sdp_attr_fmtp_st fmtp_st; 10: 32:12 | ^~~~~~~ 10: 32:12 AmSdp.cpp: In function 'void parse_sdp_origin(AmSdp*, char*)': 10: 32:12 AmSdp.cpp:1253:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 10: 32:12 1253 | register sdp_origin_st origin_st; 10: 32:12 | Change-Id: Ice87c3659816003c94359f891a490db0910ff74amr13.0.1
parent
610566823e
commit
672fc20ec0
Loading…
Reference in new issue