> Date: Thu, 28 Sep 2000 14:28:31 +0200 (CEST) > From: gb <gb@stat.umu.se> > > > 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 /* */?A bit more on this. I understood from PD's recent post that RH7.0 uses gcc 2.96, even though that is not yet released accoring to the gcc site (gcc.gnu.org) has as NEWS for Sept 11, 2000: Neil Booth has contributed a new lexer and macro-expander for the C preprocessor. The lexer makes a single pass over the source files, whereas previously it made two. The macro expander works without re-scanning for nested macros to expand, and operates on lexical tokens instead of text strings. ISO C, C++, and Objective C use the new preprocessor. Traditional (K+R) C, Fortran, and Chill use an older implementation (taken from GCC 1) which obeys the rules for pre-standard C preprocessing. Either version may be used to preprocess assembly language. I wonder if this is a problem with using a beta compiler? -- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Prof Brian Ripley <ripley@stats.ox.ac.uk> writes:> > 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 wonder if this is a problem with using a beta compiler?I certainly wouldn't put such a goof beyond RedHat, but it might be a question of tighter standards compliance. What happens if the spaces around ## are removed? (The error message might read as "can't paste onto a whitespace token") -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>>>>> "PBR" == Prof Brian Ripley <ripley@stats.ox.ac.uk> writes:PBR> A bit more on this. I understood from PD's recent post that PBR> RH7.0 uses gcc 2.96, even though that is not yet released PBR> accoring to the gcc site (gcc.gnu.org) has as NEWS for Sept PBR> 11, 2000: PBR> I wonder if this is a problem with using a beta compiler? I would be very careful with upgrading a production machine to RedHat 7.0; based on my recent experiences with Debian/Woody, it's hazardous to stability (Debian/Woody is currently is messed up with similar but slightly better patched (later) version of glibc, though using older version of gcc (2.95.2)) best, -tony -- A.J. Rossini Rsrch. Asst. Prof. of Biostatistics BlindGlobe Networks (home/default) rossini@blindglobe.net UW Biostat/Center for AIDS Research rossini@u.washington.edu FHCRC/SCHARP/HIV Vaccine Trials Net rossini@scharp.org FHCRC: M/Tu: 206-667-7025 (fax=4812) | Voicemail is pretty sketchy CFAR: W/F: 206-731-3647 (fax=3694) | Email is far better than phone UW: Th/F: 206-543-1044 (fax=3286) | Change last 4 digits of phone for fax -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._