R 0.65 and AIX: if it quacks like a duck...
Prof Brian D Ripley
ripley@stats.ox.ac.uk
Tue, 20 Jul 1999 07:37:27 +0100 (BST)
On Mon, 19 Jul 1999, Thomas Vogels wrote:
>
> Hi,
>
> this relates to R-devel of 1999/July/18. I will outline what I had
> to change to get R to compile with cc then with gcc. Note that R
> compiled with cc works, R compiled with gcc is broken.
> 3) Edit src/unix/system.c: need a "break;" after default: in line 752
> (yes, won't compile without)
There is no longer a line 752, but this was added (by Kurt) in the current
sources (line 317). When I saw this I checked my books and all my lint-like
tools: the code I wrote does seem valid C according to all my checks.
Would just ";" satisfy your compiler?
> --> Compile with gcc:
>
> 1) 2) 3) 4) like above
Will gcc really not accept 3) on your platform? It does on all of mine,
in all the versions of gcc I tried. It would be a surprise for gcc's
parser to be platform-specific.
--
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._