Cmdstan compilation errors on M3 Macos 14.4

Googling the errors* indicates this might be fixed in the latest Stan versions. Can you try installing the latest cmdstan 2.34.1? Is there a particular reason why you are requesting 2.31.0?