Yes, that happens mixing new toolchain and old libndsfpc. But you can easily fix it
Basically, you will need to replace libnds 1.4.0 with libnds 1.3.8 and default arm 0.5.8 with default arm 0.5.6

Uncompress these files in C:\devkitPro\libnds and all should work like expected