[R] Nothing can be pasted...

Luke Tierney luke at goose.stat.umn.edu
Thu Sep 28 15:47:03 CEST 2000


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"  

luke

-- 
Luke Tierney
University of Minnesota                      Phone:           612-625-7843
School of Statistics                         Fax:             612-624-8868
313 Ford Hall, 224 Church St. S.E.           email:      luke at stat.umn.edu
Minneapolis, MN 55455 USA                    WWW:  http://www.stat.umn.edu
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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