Skip to content

Commit

Permalink
Specify explicitly only the needed symbols to export from the DLL. Th…
Browse files Browse the repository at this point in the history
…is is

safer wrt to possible naming conflicts and fixes linking on Windows using
gcc 13.2, which produces weak symbols, which in turn cannot be exported from
the DLL.
  • Loading branch information
kalibera committed Feb 23, 2024
1 parent ea74bc7 commit c73828e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/rstanarm-win.def
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
LIBRARY rstanarm.dll
EXPORTS

_rcpp_module_boot_stan_fit4bernoulli_mod
_rcpp_module_boot_stan_fit4binomial_mod
_rcpp_module_boot_stan_fit4continuous_mod
_rcpp_module_boot_stan_fit4count_mod
_rcpp_module_boot_stan_fit4jm_mod
_rcpp_module_boot_stan_fit4lm_mod
_rcpp_module_boot_stan_fit4mvmer_mod
_rcpp_module_boot_stan_fit4polr_mod

0 comments on commit c73828e

Please sign in to comment.