[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem compiling oct-norm.cc with MSVC
From: |
Michael Goffioul |
Subject: |
Problem compiling oct-norm.cc with MSVC |
Date: |
Sat, 8 Nov 2008 14:42:29 +0000 |
I pulled from octave archive today and I have problems
compiling oct-norm.cc with MSVC. The error is the following
c:\sources\playground\c\octave-graphics-hg\liboctave\Array.cc(1861) :
error C2784: 'bool operator <(const float &,const octave_int<T> &)' :
could not deduce template argument for 'const octave_int<T> &' from
'Complex'
c:\sources\playground\c\octave-graphics-hg\liboctave\oct-inttypes.h(1089)
: see declaration of 'operator <'
c:\sources\playground\c\octave-graphics-hg\liboctave\Array.cc(1962)
: see reference to function template instantiation 'bool
ascending_compare<T>(vec_index<T> *,vec_index<T> *)' being compiled
with
[
T=Complex
]
c:\sources\playground\c\octave-graphics-hg\liboctave\Array.cc(1941)
: while compiling class template member function 'Array<T>
Array<T>::sort(Array<octave_idx_type> &,octave_idx_type,sortmode)
const'
with
[
T=Complex
]
c:\sources\playground\c\octave-graphics-hg\liboctave\Array2.h(43)
: see reference to class template instantiation 'Array<T>' being
compiled
with
[
T=Complex
]
c:\sources\playground\c\octave-graphics-hg\liboctave\MArray2.h(41)
: see reference to class template instantiation 'Array2<T>' being
compiled
with
[
T=Complex
]
c:\sources\playground\c\octave-graphics-hg\liboctave\CMatrix.h(38)
: see reference to class template instantiation 'MArray2<T>' being
compiled
with
[
T=Complex
]
It looks like MSVC is trying to find an implementation of < for complex
arguments. This seems to be a recent problem as I did have it last
week. Does anybody has a hint?
Thanks,
Michael.
- Problem compiling oct-norm.cc with MSVC,
Michael Goffioul <=