[Rd] Re: [R] Alpha Linux compile failure with 0.99 (PR#417)

ripley@stats.ox.ac.uk ripley@stats.ox.ac.uk
Tue, 8 Feb 2000 11:03:40 +0100 (MET)


> From: hansel@hansel.moorhead.msus.edu
> Date: Mon, 7 Feb 2000 21:25:42 -0500 (EST)
> 
> On an alpha-linux (RH 6.0) and a second (RH 6.1), compiling fails in
> printutils.c, line 424 (if (!arg)) { ....) with the fatal error message
> that arg is neither an array nor a pointer. arg is declared in the
> function parameter list as type va_list. If this is va_list ass defined in
> glib.h (/usr/include/glib.h), it is indeed a pointer (or an array of
> pointers?). (I did not try to back track through all the includes.)


Thank you for the report, and apologies for the inconvenience.

The fix I have come up with is to replace !arg by 0, so that branch is
never entered.  It looks as if this may be needed on PPC platforms too.

On some platforms, va_list may be a struct, it appears.

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