Kevin Ushey
2014-Jul-22 22:27 UTC
[Rd] Removed 'extern' on R_running_as_main_program in Rinterface.h -- intentional?
Hi R-devel, In this commit: https://github.com/wch/r-source/commit/c67a107dd7b0f074cec9359b8e2ca07c6243283c R_running_as_main_program was moved from Rmain.c to Rinterface.h, and lost its 'extern' declaration. This change is causing us linker problems (since we now have duplicate symbols for R_running_as_main_program). Was this intentional? If so, what else should applications embedding R be doing to indicate they are running as the main program? In addition, I guess the documentation at http://cran.r-project.org/doc/manuals/r-devel/R-exts.html#Embedding-R-under-Unix_002dalikes should be updated to reflect the change. Thanks, Kevin [[alternative HTML version deleted]]
Possibly Parallel Threads
- Bug 15899 - Omitted 'extern' on 'R_running_as_main_program' after refactor can cause linker errors for applications embedding R
- R callbacks
- back port of Bug 15899 fix missing from R 3.2.1 RC release!!!
- AIX 5.3 --enable-R-shlib make error with R-2.7.1
- Plot window does not update in embedded code