[R-SIG-Mac] Some exceptions not thrown properly with clang4

2017-09-20 Thread Jonah S Gabry
With clang4 installed and Makevars updated as described at https://cran.r-project.org/bin/macosx/ we are finding unexpected behavior related to exceptions. The issue was brought to our attention at http://discourse.mc-stan.org/t/error-in-rstan-2-16-2-after-upgrading-to-r-3-4-1-with-clang-4-0-0/189

Re: [R-SIG-Mac] Some exceptions not thrown properly with clang4

2017-09-20 Thread Jonah S Gabry
Sorry if line breaks are missing from the test.cpp example file in my original post. On Wed, Sep 20, 2017 at 2:00 PM, Jonah S Gabry wrote: > With clang4 installed and Makevars updated as described at > https://cran.r-project.org/bin/macosx/ we are finding unexpected behavior > related to excepti