R-1.6.0-beta compiling on Solaris with gcc-3.2

Kurt Hornik Kurt.Hornik@wu-wien.ac.at
Thu, 12 Sep 2002 18:30:06 +0200


>>>>> Uwe Ligges writes:

> Compiling R-1.6.0-beta (or any other) with gcc-3.2 just with
>  ./configure
>  make

>  ... works - great!


> But there are these annoying warning messages after *each* call to any
> of the gcc tools, as in:

>  gcc -I. -I../../src/include -I../../src/include -I/usr/local/include 
>    -DHAVE_CONFIG_H   -g -O2 -c phyper.c -o phyper.o
>  cc1: warning: changing search order for system directory 
>    "/usr/local/include"
>  cc1: warning:   as it has already been specified as a non-system 
>    directory

> I am not really sure if there is something special with our system?
> If not, is it possible to solve that in the configure script for a
> later version of R?

Brian had already raised this some time ago---Brian, is there an obvious
fix?  If not, then we need a configure check for GCC version 3.2 or
better and inititialize CPPFLAGS accordingly?

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