Re: [R-pkg-devel] Can -mmacosx-version-min be raised to 10.15 ?

2023-11-16 Thread Dirk Eddelbuettel
Simon, On 17 November 2023 at 10:43, Simon Urbanek wrote: | > On 17/11/2023, at 10:28 AM, Dirk Eddelbuettel wrote: | > On 17 November 2023 at 09:35, Simon Urbanek wrote: | > | can you clarify where the flags come from? The current CRAN builds (big-sur-x86_64 and big-sur-arm64) use | > | | > |

Re: [R-pkg-devel] Can -mmacosx-version-min be raised to 10.15 ?

2023-11-16 Thread Simon Urbanek
Dirk, > On 17/11/2023, at 10:28 AM, Dirk Eddelbuettel wrote: > > > Simon, > > On 17 November 2023 at 09:35, Simon Urbanek wrote: > | can you clarify where the flags come from? The current CRAN builds > (big-sur-x86_64 and big-sur-arm64) use > | > | export SDKROOT=/Library/Developer/CommandL

Re: [R-pkg-devel] Can -mmacosx-version-min be raised to 10.15 ?

2023-11-16 Thread Dirk Eddelbuettel
Simon, On 17 November 2023 at 09:35, Simon Urbanek wrote: | can you clarify where the flags come from? The current CRAN builds (big-sur-x86_64 and big-sur-arm64) use | | export SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk | export MACOSX_DEPLOYMENT_TARGET=11.0 | | so the lowe

Re: [R-pkg-devel] Can -mmacosx-version-min be raised to 10.15 ?

2023-11-16 Thread Simon Urbanek
Dirk, can you clarify where the flags come from? The current CRAN builds (big-sur-x86_64 and big-sur-arm64) use export SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk export MACOSX_DEPLOYMENT_TARGET=11.0 so the lowest target is 11.0 and it is no longer forced it in the flags (so

[R-pkg-devel] Can -mmacosx-version-min be raised to 10.15 ?

2023-11-16 Thread Dirk Eddelbuettel
Hi Simon, We use C++20 'inside' our library and C++17 in the API. Part of our C++17 use is now expanding to std::filesystem whose availability is dependent on the implementation. The compiler tells us (in a compilation using -mmacosx-version-min=10.14) that the features we want are only availa

[R-pkg-devel] Virtual C++ functions

2023-11-16 Thread Michael Meyer via R-package-devel
Thanks for all replies. I think the idea of a callback and link to RcppXPtrUtils is pointing me in the right direction. Michael Meyer [[alternative HTML version deleted]] __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman