Re: [R-pkg-devel] Suppressing compiler warnings?

2023-08-14 Thread Ben Bolker
This also doesn't answer your question, but: A trick that the TMB package uses to help users is to suggest that they add "CXXFLAGS += -Wno-ignored-attributes" to their `.R/Makevars` file. This means that *they* don't have to see useless warnings when compiling code. In your case I don't

Re: [R-pkg-devel] Suppressing compiler warnings?

2023-08-14 Thread Mark Padgham
On 14/08/2023 14:43, Dirk Eddelbuettel wrote: On 14 August 2023 at 11:51, Mark Padgham wrote: | An update of a package of mine got immediately kicked off CRAN because | an externally-bundled file which had not been changed for years, and | which included "pragma clang system_header" to suppress

Re: [R-pkg-devel] Suppressing compiler warnings?

2023-08-14 Thread Dirk Eddelbuettel
On 14 August 2023 at 11:51, Mark Padgham wrote: | An update of a package of mine got immediately kicked off CRAN because | an externally-bundled file which had not been changed for years, and | which included "pragma clang system_header" to suppress warnings. The | concern is fair enough. Removin

[R-pkg-devel] Suppressing compiler warnings?

2023-08-14 Thread Mark Padgham
An update of a package of mine got immediately kicked off CRAN because an externally-bundled file which had not been changed for years, and which included "pragma clang system_header" to suppress warnings. The concern is fair enough. Removing that nevertheless now generates a heap of warnings whic