help-octave
[Top][All Lists]
Advanced

[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: RUSS BRENNAN
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: Tue, 31 Aug 2010 12:22:01 -0500

using -gcc-version=410 solved this issue!  I am using gcc4 to compile, but intel apparently checks gcc -v for the version.  Overriding this allowed me to compile the test.cc program, even with 10.2! Thanks for the advice,

Russell

> Date: Wed, 25 Aug 2010 12:42:30 +0200
> Subject: Re: Compiling Octave 3.2.3 with icpc 10.1 fails: more than one instance of overloaded function "octave_int_cmp_op::mop"
> From: address@hidden
> To: address@hidden
> CC: address@hidden
>
> On Mon, Aug 23, 2010 at 6:27 PM, RUSS BRENNAN <address@hidden> wrote:
> > I upgraded to 11.1 and the problem persists:
> >
> > address@hidden ~]# icpc -v
> > Version 11.1
> > 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)
> >
> > Is the patch that you refer to applied to octave or the intel compiler?  In
> > either case, if there's any chance that you can locate it I would much
> > appreciate it.  I'm pulling my hair out here trying to get this thing to
> > compile!  Are you on a 64-bit platform by chance?  I'm working on 32 bit
> > right now.
> >
> >
>
> Yes, I'm on a 64-bit platform. That may explain the difference. I was
> using a patch to Octave's sources (patching Intel C++ is not even
> legal). It appears that it's gone, however.
>
> --
> RNDr. Jaroslav Hajek, PhD
> computing expert & GNU Octave developer
> Aeronautical Research and Test Institute (VZLU)
> Prague, Czech Republic
> url: www.highegg.matfyz.cz

reply via email to

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