[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiling Octave 3.2.3 with icpc 10.1 fails: more than one instance

From: Jaroslav Hajek
Subject: Re: Compiling Octave 3.2.3 with icpc 10.1 fails: more than one instance of overloaded function "octave_int_cmp_op::mop"
Date: Fri, 20 Aug 2010 21:17:52 +0200

On Thu, Aug 19, 2010 at 10:04 PM, RUSS BRENNAN <address@hidden> wrote:
> I recompiled all of my source with version 11.0.081 of the intel compiler
> and I still get the same error.  Here's an updated printout of the error:
> icpc -c -I/opt/intel/Compiler/11.0/081/mkl/include/fftw
> -I/usr/local/include/ -I/usr/local/include -I/usr/include/freetype2 -fPIC
> -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H
> -mieee-fp  -w -O2 -xW -mieee-fp -I/usr/local/include/
> -I/usr/include/freetype2 -o pic/int64NDArray.o
> oct-inttypes.h(1052): error: more than one instance of overloaded function
> "octave_int_cmp_op::mop" matches the argument list:
>             function template "bool octave_int_cmp_op::mop<xop,T>(T,
> double)"
>             function template "bool
> octave_int_cmp_op::mop<xop>(int64_t={long long}, double)"
>             argument types are: (int64_t, const double)
>   ^
>           detected during:
>             instantiation of "bool operator!=(const octave_int<T> &, const
> double &) [with T=int64_t={long long}]" at line 57 of ""
>             instantiation of "bool
> intNDArray<T>::any_element_not_one_or_zero() const [with T=octave_int64]" at
> line 32 of ""
> Has anyone seen anything similar to this?  I don't really know how to go
> about resolving this compile error, I haven't seen anything like it before
> and google is not of much help.  It seems that anyone building 3.2.3 with
> the intel compile should have seen this, since the relevant code is all part
> of the octave basline and not it's dependancies...

That's weird, it works for me with icpc 11.0. Actually I'm compiling
the development sources, but I don't think there has been a change
that would explain the difference...

RNDr. Jaroslav Hajek, PhD
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic

reply via email to

[Prev in Thread] Current Thread [Next in Thread]