[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: |
Mon, 23 Aug 2010 09:22:06 +0200 |
On Sun, Aug 22, 2010 at 4:56 PM, RUSS BRENNAN <address@hidden> wrote:
> I am using:
> icpc (ICC) 11.0 20090131
> Copyright (C) 1985-2009 Intel Corporation. All rights reserved.
>
> Try compiling this with your version of icpc:
> test.cc:
> class A {};
>
> template <class X, class T> void method (double u, T v);
>
> template <class X> void method (double u, long v);
>
> int main (){
> double u(0); long v(0);
> method<A> (u, v);
> }
>
> using icpc -c test.cc
>
> Here is what I get:
> address@hidden ~]# icpc -c test,cc
> icpc: error #10104: unable to open 'test,cc'
> address@hidden ~]# icpc -c test.cc
> test.cc(9): error: more than one instance of overloaded function "method"
> matches the argument list:
> function template "void method<X,T>(double, T)"
> function template "void method<X>(double, long)"
> argument types are: (double, long)
> method<A> (u, v);
> ^
>
> compilation aborted for test.cc (code 2)
>
>
> If you can compile that with icpc, then I'll agree that my compiler is
> funky! I pulled that example oddly enough from someone that you helped in
> February:
> http://permalink.gmane.org/gmane.comp.gnu.octave.maintainers/17942
>
I can compile this normally. But I've got to apologize; my compiler is
in fact version 11.1 (11.1 20100414), I was confused by the way our
admin did the latest installations. So that may explain the
difference. I now recall that I used a special patch to workaround
this issue, but I can't find it anymore (probably deleted it when the
latest upgrade fixed the bug).
--
RNDr. Jaroslav Hajek, PhD
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz
- Compiling Octave 3.2.3 with icpc 10.1 fails: more than one instance of overloaded function "octave_int_cmp_op::mop", RUSS BRENNAN, 2010/08/16
- Re: Compiling Octave 3.2.3 with icpc 10.1 fails: more than one instance of overloaded function "octave_int_cmp_op::mop", Jaroslav Hajek, 2010/08/18
- RE: Compiling Octave 3.2.3 with icpc 10.1 fails: more than one instance of overloaded function "octave_int_cmp_op::mop", RUSS BRENNAN, 2010/08/18
- Re: Compiling Octave 3.2.3 with icpc 10.1 fails: more than one instance of overloaded function "octave_int_cmp_op::mop", Jaroslav Hajek, 2010/08/20
- RE: Compiling Octave 3.2.3 with icpc 10.1 fails: more than one instance of overloaded function "octave_int_cmp_op::mop", RUSS BRENNAN, 2010/08/22
- Re: Compiling Octave 3.2.3 with icpc 10.1 fails: more than one instance of overloaded function "octave_int_cmp_op::mop",
Jaroslav Hajek <=
- RE: Compiling Octave 3.2.3 with icpc 10.1 fails: more than one instance of overloaded function "octave_int_cmp_op::mop", RUSS BRENNAN, 2010/08/23
- RE: Compiling Octave 3.2.3 with icpc 10.1 fails: more than one instance of overloaded function "octave_int_cmp_op::mop", RUSS BRENNAN, 2010/08/24
- Re: Compiling Octave 3.2.3 with icpc 10.1 fails: more than one instance of overloaded function "octave_int_cmp_op::mop", Jaroslav Hajek, 2010/08/25
- RE: Compiling Octave 3.2.3 with icpc 10.1 fails: more than one instance of overloaded function "octave_int_cmp_op::mop", RUSS BRENNAN, 2010/08/31
- Re: Compiling Octave 3.2.3 with icpc 10.1 fails: more than one instance of overloaded function "octave_int_cmp_op::mop", Jaroslav Hajek, 2010/08/20