[R] R-1.9.0: make error on slackware-current!
Prof Brian Ripley
ripley at stats.ox.ac.uk
Mon Apr 19 15:02:24 CEST 2004
I have been able to reproduce this. It appears that _some_ XFree 4.4.0
Linux installations need
#include <stdio.h>
so please add that before the X11/X.h call in src/modules/X11/dataentry.c
It seems nothing to do with _Xconst.
On Sun, 18 Apr 2004, Prof Brian Ripley wrote:
> On Sun, 18 Apr 2004, Timothy Tatar wrote:
>
> > It appears that the #If NeedFunctionPrototypes compiler directive has been
> > removed from Xlib.h and Xutil.h in Xfree86 4.4. All the prototypes
> > containing the offending _Xconst are now being processed. R 1.8.1, which
> > built successfully under XFree86 4.3, fails under XFree86 4.4 with the same
> > error messages.
>
> Yes, we do know. However, 1.9.0 _has_ been built against XFree 4.4, and
> also XFree 8.3 with NeedFunctionPrototypes defined to be 1. _Xconst
> should be defined, so the problem seems to be with `slackware-current'
> (whatever that is) rather than XFree 4.4. Does adding
>
> #ifndef _Xconst
> #define _Xconst const
> #endif /* _Xconst */
>
> help? (That's inside #if NeedFunctionPrototypes in the headers I have.)
>
>
>
--
Brian D. Ripley, ripley at 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 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list