delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/01/30/05:40:03

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=AWL,BAYES_50,SPF_PASS,WEIRD_PORT
X-Spam-Check-By: sourceware.org
Message-ID: <20090130103945.20650.qmail@web3314.mail.ogk.yahoo.co.jp>
Date: Fri, 30 Jan 2009 19:39:45 +0900 (JST)
From: Tatsuro MATSUOKA <tmacchant2 AT yahoo DOT co DOT jp>
Reply-To: matsuoka AT nuce DOT nagoya-u DOT ac DOT jp
Subject: Re: C++ ambiguous template specialization (cygwin only)
To: marco_atzeri AT yahoo DOT it, cygwin AT cygwin DOT com
Cc: matsuoka AT nuce DOT nagoya-u DOT ac DOT jp
In-Reply-To: <356127.29325.qm@web25006.mail.ukl.yahoo.com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Note-from-DJ: This may be spam

Hello

Sorry this is not answer.

I have also met the same problem and I have not been able to build Octave-3.1 branch.

I have an experience to build octave-3.1.50 on mingw.
No similar kinds of errors did not occur. 

Regards

Tatsuro



--- Marco Atzeri wrote:

> Dear all,
> unfortunately I am not too much familiar with C++,
> so I have no clue where to look for difference
> between Cygwin and all the other platforms where this
> problem does not happen.
> 
> Only on cygwin, both with gcc-3 and gcc-4, 
> the building from last development
> sources of octave-3.1.51+  stop here:
> 
> ../../octave_local/liboctave/oct-inttypes.cc:516:
> error: ambiguous template specialization
> `mop<octave_int_cmp_op::ne>' for `bool octave         
> _int_cmp_op::mop(uint64_t, double)'
> ../../octave_local/liboctave/oct-inttypes.h: In
> function `bool operator<(const double&, const
> octave_int<T>&) [with T = uint64_t]':
> ../../octave_local/liboctave/oct-inttypes.cc:402:  
> instantiated from here
> ../../octave_local/liboctave/oct-inttypes.h:1054:
> error: call of overloaded `mop(const double&,
> uint64_t)' is ambiguous
> ../../octave_local/liboctave/oct-inttypes.h:193: note:
> candidates are: static bool octave_int_cmp_op::mop(T,
> double) [with xop = octave_          int_cmp_op::lt, T
> = double]
> ../../octave_local/liboctave/oct-inttypes.h:198: note:
>  static bool octave_int_cmp_op::mop(double, T) [with
> xop = octave_int_cmp_op::lt,           T = long long
> unsigned int]
> ../../octave_local/liboctave/oct-inttypes.cc:60: note:
>  static bool octave_int_cmp_op::mop(uint64_t, double)
> [with xop = octave_int_cmp_          op::lt]
> ../../octave_local/liboctave/oct-inttypes.cc:80: note:
>  static bool octave_int_cmp_op::mop(int64_t, double)
> [with xop = octave_int_cmp_o          p::lt]
> ../../octave_local/liboctave/oct-inttypes.cc:127:
> note:  static bool octave_int_cmp_op::mop(double,
> uint64_t) [with xop = octave_int_cmp          _op::lt]
> ../../octave_local/liboctave/oct-inttypes.cc:135:
> note:  static bool octave_int_cmp_op::mop(double,
> int64_t) [with xop = octave_int_cmp_          op::lt]
> 
> 
> Any suggestion ?
> Thanks
> Marco
> 
> 
> 
>       Passa a Yahoo! Mail.
> 
> La webmail che ti offre GRATIS spazio illimitato, 
> antispam e messenger integrato.
> http://it.mail.yahoo.com/              
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 
> 


--------------------------------------
Power up the Internet with Yahoo! Toolbar.
http://pr.mail.yahoo.co.jp/toolbar/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019