Commit 2824524
committed
src/Makefile: suppress unused-but-set-variable warning for sg/syzkaller1.c
The volatile loop variable 'i' in sg/syzkaller1.c triggers a
-Wunused-but-set-variable warning on newer GCC (e.g. GCC 16 on ppc64le).
So add a specific Makefile rule for sg/syzkaller1 that appends
-Wno-unused-but-set-variable.
Fixes: #233
Signed-off-by: Yi Zhang <[email protected]>
Assisted-by: Claude:claude-sonnet-4.61 parent 4de1f75 commit 2824524
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
| |||
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
35 | 37 | | |
36 | | - | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
39 | | - | |
| 41 | + | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
| |||
57 | 59 | | |
58 | 60 | | |
59 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
60 | 65 | | |
61 | 66 | | |
62 | 67 | | |
| |||
0 commit comments