Skip to content

Commit c73828e

Browse files
committed
Specify explicitly only the needed symbols to export from the DLL. This 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.
1 parent ea74bc7 commit c73828e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/rstanarm-win.def

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
LIBRARY rstanarm.dll
22
EXPORTS
3-
3+
_rcpp_module_boot_stan_fit4bernoulli_mod
4+
_rcpp_module_boot_stan_fit4binomial_mod
5+
_rcpp_module_boot_stan_fit4continuous_mod
6+
_rcpp_module_boot_stan_fit4count_mod
7+
_rcpp_module_boot_stan_fit4jm_mod
8+
_rcpp_module_boot_stan_fit4lm_mod
9+
_rcpp_module_boot_stan_fit4mvmer_mod
10+
_rcpp_module_boot_stan_fit4polr_mod

0 commit comments

Comments
 (0)