Re: [R-pkg-devel] gcc14 checks on fedora

2024-05-24 Thread Dirk Eddelbuettel
On 24 May 2024 at 20:01, Brad Eck wrote: | I received a note that my package -- epanet2toolkit -- was showing a | warning in the fedora-gcc results on CRAN. | https://www.stats.ox.ac.uk/pub/bdr/gcc12/epanet2toolkit.out | | I'd like to reproduce the warning and fix it. Usually I'd do that with

Re: [R-pkg-devel] gcc14 checks on fedora

2024-05-24 Thread Gábor Csárdi
Fedora 40 comes with gcc 14.1.x. But I would first try to use the `-Wformat-truncation=` flag with the compiler you have, it is possible that you don't need gcc 14.1. If you do, then the `fedora:40` container should be good. Gabor On Fri, May 24, 2024 at 9:02 PM Brad Eck wrote: > > Dear List -

[R-pkg-devel] gcc14 checks on fedora

2024-05-24 Thread Brad Eck
Dear List - I received a note that my package -- epanet2toolkit -- was showing a warning in the fedora-gcc results on CRAN. https://www.stats.ox.ac.uk/pub/bdr/gcc12/epanet2toolkit.out I'd like to reproduce the warning and fix it. Usually I'd do that with Docker. Is anyone aware of a docker

Re: [R-pkg-devel] Compile issues on r-devel-linux-x86_64-debian-clang with OpenMP

2024-05-24 Thread Kurt Hornik
> Dirk Eddelbuettel writes: > On 23 May 2024 at 20:02, Ivan Krylov wrote: > | On Wed, 22 May 2024 09:18:13 -0500 > | Dirk Eddelbuettel wrote: > | > | > Testing via 'nm' as you show is possible but not exactly 'portable'. > | > So any suggestions as to what to condition on here? > | > | (My

Re: [R-pkg-devel] Compile issues on r-devel-linux-x86_64-debian-clang with OpenMP

2024-05-24 Thread Dirk Eddelbuettel
Kurt, Could you do me a favour and run on that clang18-using machine in question the following one-liner (provided your session has access to a .libPaths() including Rcpp) and, in the case of success, the resulting function? > Rcpp::cppFunction("int ompconfigtest() { return