octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #41145] Building with 64 bit indexing fails on


From: Lasse Schuirmann
Subject: [Octave-bug-tracker] [bug #41145] Building with 64 bit indexing fails on ArchLinux and Ubuntu
Date: Wed, 08 Jan 2014 13:47:25 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0

Follow-up Comment #4, bug #41145 (project octave):

Full message:
../../liboctave/array/Sparse.cc: In instantiation of 'Sparse<T>
Sparse<T>::diag(octave_idx_type) const [with T = bool; octave_idx_type = long
int]':
../../liboctave/array/Sparse-b.cc:33:1:   required from here
../../liboctave/array/Sparse.cc:2494:11: error: call of overloaded
'Sparse(int, int, int)' is ambiguous
         d = Sparse<T> (0, 1, 0);
           ^
../../liboctave/array/Sparse.cc:2494:11: note: candidates are:
In file included from ../../liboctave/array/Sparse-b.cc:30:0:
../../liboctave/array/Sparse.h:199:3: note: Sparse<T>::Sparse(octave_idx_type,
octave_idx_type, octave_idx_type) [with T = bool; octave_idx_type = long int]
   Sparse (octave_idx_type nr, octave_idx_type nc, octave_idx_type nz)
   ^
In file included from ../../liboctave/array/Sparse-b.cc:31:0:
../../liboctave/array/Sparse.cc:204:1: note:
Sparse<T>::Sparse(octave_idx_type, octave_idx_type, T) [with T = bool;
octave_idx_type = long int]
 Sparse<T>::Sparse (octave_idx_type nr, octave_idx_type nc, T val)
 ^

I appended the HG changeset patch.

Oh and:
 gcc --version
 gcc (GCC) 4.8.2 20131219 (prerelease)

(file #30221)
    _______________________________________________________

Additional Item Attachment:

File name: ambiguity.patch                Size:1 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?41145>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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