On 31 Mar, 13:08, "Jim Langston" <tazmas...@rocketmail.comwrote:
algatt wrote:
Hello, I am trying to compile some source code from
http://www.cse.ust.hk/~yike/prtree/(source code:
http://www.cse.ust.hk/~yike/prtree/prtree.tgz) but it
will result from many errors ~365. Can this happen due to difference
in compilers? I am using gcc latest version and the original source
code was created in 2002. Any help?
Since you're not telling us what the errors are, how can we tell?
--
Jim Langston
tazmas...@rocketmail.com
Ok, here's the first few:
.../include/vararray.H: In member function 'VarArray2D<T>&
VarArray2D<T>::operator=(const VarArray2D<T>&)':
.../include/vararray.H:205: error: invalid types 'int[int]' for array
subscript
.../include/vararray.H:205: error: invalid types 'int[int]' for array
subscript
.../include/vararray.H: In member function 'VarArray3D<T>&
VarArray3D<T>::operator=(const VarArray3D<T>&)':
.../include/vararray.H:288: error: invalid types 'int[int]' for array
subscript
.../include/vararray.H:288: error: invalid types 'int[int]' for array
subscript
.../include/vararray.H:288: error: invalid types 'int[int]' for array
subscript
.../include/logstream.H: At global scope:
.../include/logstream.H:66: error: declaration of 'operator<<' as non-
function
.../include/logstream.H:66: error: expected ';' before '<' token
.../include/bte_stream_ufs.H: In constructor
'BTE_stream_ufs<T>::BTE_stream_ufs(const char*, BTE_stream_type,
size_t)':
and the list continues...
Thanks...