Hello, I think I found the solution. I just need to edit "sway/ipc-json.c" and add these line
``` #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wswitch" ```
before this line :
``` switch (libinput_device_config_accel_get_profile(device)) { ```
and sway is able to be built. Thanks.
Hello, I think I found the solution. I just need to edit "sway/ipc-json.c" and add these line
```
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wswitch"
```
before this line :
```
switch (libinput_ device_ config_ accel_get_ profile( device) ) {
```
and sway is able to be built. Thanks.