[R] Nothing can be pasted...

gb gb at stat.umu.se
Thu Sep 28 22:04:43 CEST 2000


On Thu, 28 Sep 2000, Luke Tierney wrote:

> gb wrote:
> [Charset iso-8859-1 unsupported, filtering to ASCII...]
> > 
> > Compiling R-1.1.1 on RedHat Linux 7.0 gives lots of warnings like
> > 
> > In file included from tabulate.c:24:
> > ../../src/include/config.h:192:21: warning: nothing can be pasted after
> > this token
> > 
> > which I didn't see with RH6.2. However,  R  seems to run just fine
> > nevertheless. The offending line in config.h is
> > 
> > #define DYNLOADEXT  "." ## SHLIBEXT
> > 
> > I'm not too familiar with  C  programming, but if ## SHLIBEXT
> > is meant as a comment, shouldn't it be surrounded by /* */?
> > 
> 
> I'm a little worried that this warning might suggest that there is
> something wrong with the SHLIBEXT.  Does dynamic loading work?  If
> not, maybe you can try
> 
> cpp -I<wherever R lives>/src/include test.c
> 
> with test.c containing just the two lines between the dashes:
> 
> -----------
> #include "config.h"
> DYNLOADEXT
> -----------
> 
> and see what the last line looks like; on RH 6.1 it is
> 
> ".""so"  

I get the same on 7.0.

Göran

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list