switch --disable-all causes a compile failure, so cannot be used