Commit 2474909
Fix warnings reported by GCC on RHEL 7/8/9/10
- Reorder constructor initializer list in SipCtrlInterface to match
member declaration order, fixing -Wreorder on all RHEL versions
- Add GCC version check (__GNUC__ >= 8) for -Wclass-memaccess pragma
in sip_parser_async.h, fixing -Wpragmas on RHEL 7 (GCC 4.8)
- Fix format specifier in codec2.c: %s -> %d for int argument,
fixing -Wformat and a runtime bug on all platforms1 parent af3ef48 commit 2474909
File tree
4 files changed
+5
-5
lines changed- core
- plug-in/codec2
- sip
4 files changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
260 | | - | |
| 259 | + | |
| 260 | + | |
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
0 commit comments