Re: [R-pkg-devel] libc++ and abort function usage

2025-04-10 Thread Kevin Ushey
Hi Reed, Unfortunately I don't think there is any other strategy here -- I would agree that your best bet is to just enable exceptions in the bundled library. Best, Kevin On Fri, Apr 4, 2025 at 5:59 PM Reed A. Cartwright wrote: > > I have updated my package, rbedrock [1-2], to remove a bundled

[R-pkg-devel] libc++ and abort function usage

2025-04-04 Thread Reed A. Cartwright
I have updated my package, rbedrock [1-2], to remove a bundled library's calls to abort() and stderr when compiled with -DNDEBUG (which is the default). This has mostly worked; however, I have uncovered that libc++ contains inline functions that call abort() if exceptions are disabled. My bundled