Skip to content

Nothing can be pasted...

4 messages · Brian Ripley, Peter Dalgaard, A.J. Rossini +1 more

#
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?
#
Prof Brian Ripley <ripley@stats.ox.ac.uk> writes:
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")
#
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
#
On 28 Sep 2000, Peter Dalgaard BSA wrote:

            
I tried that, but I get the same warnings.

Göran

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