Please update the compiler toolchains for the boards. For Raspberry gcc version 14 is available for some time. For Raspberry Pico gcc is currently on Version 7.2.1, For Raspberry Pico W beta gcc is currently on Version 10.3.0, Thanks Richard