help-octave
[Top][All Lists]
Advanced

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

R: Help-octave Digest, Vol 53, Issue 60


From: address@hidden
Subject: R: Help-octave Digest, Vol 53, Issue 60
Date: Mon, 23 Aug 2010 19:56:06 +0200 (CEST)

I cannot understand which syntax sign must be used.

Silvano

>----Messaggio originale----
>Da: address@hidden
>Data: 23-ago-2010 19.03
>A: <address@hidden>
>Ogg: Help-octave Digest, Vol 53, Issue 60
>
>Send Help-octave mailing list submissions to
>       address@hidden
>
>To subscribe or unsubscribe via the World Wide Web, visit
>       https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>or, via email, send a message with subject or body 'help' to
>       address@hidden
>
>You can reach the person managing the list at
>       address@hidden
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of Help-octave digest..."
>
>
>Today's Topics:
>
>   1. 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)
>   2. access the help text of an overloaded function (CdeMills)
>   3. 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)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Mon, 23 Aug 2010 09:22:06 +0200
>From: Jaroslav Hajek <address@hidden>
>Subject: Re: Compiling Octave 3.2.3 with icpc 10.1 fails: more than
>       one     instance of overloaded function "octave_int_cmp_op::mop"
>To: RUSS BRENNAN <address@hidden>
>Cc: address@hidden
>Message-ID:
>       <address@hidden>
>Content-Type: text/plain; charset=ISO-8859-1
>
>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
>
>
>
>------------------------------
>
>Message: 2
>Date: Mon, 23 Aug 2010 06:41:51 -0700 (PDT)
>From: CdeMills <address@hidden>
>Subject: access the help text of an overloaded function
>To: address@hidden
>Message-ID: <address@hidden>
>Content-Type: text/plain; charset=us-ascii
>
>
>Hello,
>
>In the case of a class where some octave builtins are overloaded, how to
>write and access the documentation of the overloaded function, and not from
>the base function ? Is it possible with the Octave 3.2.x series ?
>
>Regards
>
>Pascal
>-- 
>View this message in context: http://octave.1599824.n4.nabble.com/access-the-
help-text-of-an-overloaded-function-tp2335124p2335124.html
>Sent from the Octave - General mailing list archive at Nabble.com.
>
>
>------------------------------
>
>Message: 3
>Date: Mon, 23 Aug 2010 11:27:35 -0500
>From: RUSS BRENNAN <address@hidden>
>Subject: RE: Compiling Octave 3.2.3 with icpc 10.1 fails: more than
>       one     instance of overloaded function "octave_int_cmp_op::mop"
>To: <address@hidden>
>Cc: address@hidden
>Message-ID: <address@hidden>
>Content-Type: text/plain; charset="iso-8859-1"
>
>
>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.
>
>
>
>
>> Date: Mon, 23 Aug 2010 09:22:06 +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 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
>                                         
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: https://www-old.cae.wisc.edu/pipermail/help-
octave/attachments/20100823/3ea824cb/attachment-0001.html 
>
>------------------------------
>
>_______________________________________________
>Help-octave mailing list
>address@hidden
>https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>
>
>End of Help-octave Digest, Vol 53, Issue 60
>*******************************************
>

Attachment: Cattura.PNG
Description: Binary data


reply via email to

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