Re: [R-pkg-devel] gcc-asan replication for armadillo

2025-05-21 Thread Kevin Ushey
Hi Andrew, The relevant code defining the constant is here: https://github.com/RcppCore/RcppArmadillo/blob/66dcdb5e878b391cd44a8c2854898abd002272ed/inst/include/armadillo_bits/constants.hpp#L176 If I understand correctly, that is effectively defining static (global) values for a template class,

Re: [R-pkg-devel] gcc-asan replication for armadillo

2025-05-21 Thread Dirk Eddelbuettel
Andrew, On 21 May 2025 at 12:48, andrew--- via R-package-devel wrote: | I'm currently having difficulty replicating an ODR violation that is being raised by the gcc-asan check here: https://www.stats.ox.ac.uk/pub/bdr/memtests/gcc-ASAN/RcppPlanc/00install.out. Perhaps weirder, it seems to be t

Re: [R-pkg-devel] gcc-asan replication for armadillo

2025-05-21 Thread andrew--- via R-package-devel
If this were the case I don't think that I'd be having problems replicating it. From: Serguei Sokol Sent: Wednesday, May 21, 2025 9:21 AM To: and...@robbinsa.me ; R Package Development Subject: Re: [R-pkg-devel] gcc-asan replication for

Re: [R-pkg-devel] gcc-asan replication for armadillo

2025-05-21 Thread Serguei Sokol
Le 21/05/2025 à 14:48, andrew--- via R-package-devel a écrit : Hi all, I'm currently having difficulty replicating an ODR violation that is being raised by the gcc-asan check here: https://www.stats.ox.ac.uk/pub/bdr/memtests/gcc-ASAN/RcppPlanc/00install.out. Perhaps weirder, it seems to be tr