[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Error building CVS with Sun C++ compiler
From: |
John W. Eaton |
Subject: |
Error building CVS with Sun C++ compiler |
Date: |
Mon, 10 Nov 2003 11:26:51 -0600 |
On 7-Nov-2003, Albert Chin <address@hidden> wrote:
| Octave 2.1.50 built fine with the Sun C++ compiler (from Forte 6 or
| Forte 7). I just synced with CVS and now I get:
|
| CC -c -I/opt/TWWfsw/readline42a/include -L/opt/TWWfsw/ncurses5/include
| -I/opt/TWWfsw/libfftw21/include -I. -I.. -I../liboctave -I../src
| -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -dalign -xO2
| -xtarget=generic -xarch=v8 ODESSA.cc -o ODESSA.o
| "Array.h", line 161: Warning (Anachronism): Type names qualified by
| template parameters require "typename".
| "Array.h", line 521: Where: While specializing "Array<T>".
| "Array.h", line 521: Where: Specialized in non-template code.
| "Array.cc", line 1304: Warning: idx hides Array<Matrix>::idx.
| "ODESSA.cc", line 65: Where: While instantiating
| "Array<Matrix>::maybe_delete_elements(Array<idx_vector>&, const
| Matrix&)".
| "ODESSA.cc", line 65: Where: Instantiated from non-template code.
| "Array.cc", line 1741: Warning: idx hides Array<Matrix>::idx.
| "ODESSA.cc", line 65: Where: While instantiating
| "Array<Matrix>::indexN(idx_vector&, int, const Matrix&) const".
| "ODESSA.cc", line 65: Where: Instantiated from non-template code.
| "Array.cc", line 1868: Warning: idx hides Array<Matrix>::idx.
| "ODESSA.cc", line 65: Where: While instantiating
| "Array<Matrix>::indexN(idx_vector&, int, const Matrix&) const".
| "ODESSA.cc", line 65: Where: Instantiated from non-template code.
|
| "Array.cc", line 1991: Error: The name get_elt_idx(const
| Array<idx_vector>&, const Array<int>&) is unusable in
| Array<Matrix>::index(Array<idx_vector>&, int, const Matrix&) const.
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| "ODESSA.cc", line 65: Where: While instantiating
| "Array<Matrix>::index(Array<idx_vector>&, int, const Matrix&) const".
| "ODESSA.cc", line 65: Where: Instantiated from non-template code.
| 1 Error(s) and 4 Warning(s) detected.
| gmake[2]: *** [ODESSA.o] Error 1
| gmake[2]: Leaving directory `/opt/build/octave-2.1.50/liboctave'
I've checked in changes that I think should fix these problems.
Thanks,
jwe
- Error building CVS with Sun C++ compiler, Albert Chin, 2003/11/07
- Error building CVS with Sun C++ compiler,
John W. Eaton <=
- Re: Error building CVS with Sun C++ compiler, Albert Chin, 2003/11/10
- Re: Error building CVS with Sun C++ compiler, John W. Eaton, 2003/11/10
- Re: Error building CVS with Sun C++ compiler, Albert Chin, 2003/11/10
- Re: Error building CVS with Sun C++ compiler, Albert Chin, 2003/11/11
- Re: Error building CVS with Sun C++ compiler, Jskud, 2003/11/11
- Re: Error building CVS with Sun C++ compiler, John W. Eaton, 2003/11/11