Re: [Rd] Change to r-devel warns on #pragma

2017-12-11 Thread Patrick Perry
Dear Mark, Thank you for the reply. I am not questioning the utility of compiler warnings in general. If you look at the code snippet, you can see that I am only disabling one warning ("-Wtype-limits"), in one line of code. This particular warning is spurious, so I want to ignore it, but I want

Re: [Rd] Change to r-devel warns on #pragma

2017-12-11 Thread Mark van der Loo
Hi Patrick, It was recently added as a cran policy (thanks Dirk's cran policy watch: https://twitter.com/markvdloo/status/935810241190617088). It seems to be a general stricter policy on keeping to the C(++) standard. Warnings are there for a reason and should usually not be ignored. I'm not fami