This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcc 3.2 & leda 3.8 ?


Hi,

I've been trying to install Leda 3.8 in with gcc 3.2
(on RedHat 8.0), but
everytime I tried to build the libraries, it always
give me this
warning & error :

--- Start ---
make[1]: Entering directory `/prg/leda3.8/src'
cd basic;     make
make[2]: Entering directory `/prg/leda3.8/src/basic'
g++  -O -DLEDA_INSTALL -I../../incl  -c _array.c
In file included from
/usr/include/c++/3.2/backward/iostream.h:31,
                 from
../../incl/LEDA/std/iostream.h:8,
                 from ../../incl/LEDA/basic.h:58,
                 from
../../incl/LEDA/impl/gen_array.h:25,
                 from _array.c:28:
/usr/include/c++/3.2/backward/backward_warning.h:32:2:
warning:
#warning This file includes at least
one deprecated or antiquated header. Please consider
using one of the
32 headers found in section 17.4.1.2 of the C++
standard. Examples
include substituting the <X> header for the <X.h>
header for C++
includes, or <sstream> instead of the deprecated
header <strstream.h>.
To disable this warning use -Wno-deprecated.
In file included from ../../incl/LEDA/basic.h:98,
                 from
../../incl/LEDA/impl/gen_array.h:25,
                 from _array.c:28:
../../incl/LEDA/param_types.h:424: warning: friend
declaration `int
   compare(const T&, const T&)' declares a
non-template function
../../incl/LEDA/param_types.h:424: warning: (if this
is not what you
intended,
   make sure the function template has already been
declared and add
<> after
   the function name here) -Wno-non-template-friend
disables this
warning
In file included from ../../incl/LEDA/basic.h:101,
                 from
../../incl/LEDA/impl/gen_array.h:25,
                 from _array.c:28:
../../incl/LEDA/iteration.h: In function `bool
LedaLoopSucc(const T&,
void*&)':
../../incl/LEDA/iteration.h:84: parse error before `)'
token
../../incl/LEDA/iteration.h: In function `bool
LedaLoopPred(const T&,
void*&)':
../../incl/LEDA/iteration.h:90: parse error before `)'
token
../../incl/LEDA/iteration.h: In function `void
LedaLoopInf(const T&,
var_type&,
   void*)':
../../incl/LEDA/iteration.h:96: parse error before `)'
token
   :
   :
   :
--- END ---

Can anyone please tell me what's wrong and how to fix
this problem ?

Or do I need to install a lower version of gcc ? If I
have to install a lower version of gcc, how do I
install it such that I can still use my gcc 3.2 ? I've
tried to install gcc 2.95 before, but it overrides gcc
3.2. 

Thank you very much in advance.

Regards,
Hanna



__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]