(PR#996) [Rd] Double inclusion of "int R_OutputCon" from

ripley@stats.ox.ac.uk ripley@stats.ox.ac.uk
Wed, 27 Jun 2001 08:34:24 +0200 (MET DST)


[Header changed to help the R-bugs system]

On Wed, 27 Jun 2001 thoffman@zappa.sax.de wrote:

> 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).

Um, that's definitely not in the code in the system you quote below.

> 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).

Yes, but the problem is AFAICS in what your linker does, as my C books say
it should merge all the occurrences.  All our platforms on which we are
able to test do so.  I did think about this and look it up.

Given that you use a very unusual system yet expect code to work on it
unchanged, it would be helpful to us if you compiled the pre-release
versions from time to time and sent in suggestions before release.
`R is a collaborative project ...'.

>
> --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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._