[Rd] Double inclusion of "int R_OutputCon" from src/include/Rconnections.h (PR#996)

thoffman@zappa.sax.de thoffman@zappa.sax.de
Wed, 27 Jun 2001 01:48:34 +0200 (MET DST)


I got a double defined symbol when linking src/modules/internet.dll
because 
internet.c and sockconn.c include Rconnections.h (... and do not even
need
R_OutputCon).

One should possibly remove such a global definitinon from the header
file.
As a temporary solution I declared the variable extern in Rconnections.h
and 
added in src/main/printutils.c the definition (only this file and
src/main/connections.c really use the variable).

--please do not edit the information below--

Version:
 platform = i386-pc-os2_emx
 arch = i386
 os = os2_emx
 system = i386, os2_emx
 status = 
 major = 1
 minor = 2.3
 year = 2001
 month = 04
 day = 26
 language = R

Search Path:
 .GlobalEnv, package:ctest, Autoloads, package:base


-- 
Thomas Hoffmann                                    Telephone:
49-351-4598831
thoffman@zappa.sax.de                                       Dresden,
Germany

..sig under construction ...

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._