[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CMatric.cc: ComplexMatrix::solve call is ambigious
From: |
David Grundberg |
Subject: |
CMatric.cc: ComplexMatrix::solve call is ambigious |
Date: |
Wed, 24 Feb 2010 11:47:39 +0100 |
User-agent: |
Thunderbird 2.0.0.23 (X11/20090812) |
Hi,
Tried building today and I got this C++ method overloading compile
error. This error is something new, so I thought I'd post it.
address@hidden:~/octave-patching/octaveorg$ hg tip
changeset: 10351:5150ceb4dbb4
tag: tip
user: Jaroslav Hajek <address@hidden>
date: Tue Feb 23 14:15:34 2010 +0100
summary: base charMatrix and boolMatrix on Array<char>
address@hidden:~/octave-patching/octaveorg$
address@hidden:/scratch/octaveorgvpath$ g++ --version
g++ (Debian 4.3.2-1.1) 4.3.2
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
address@hidden:/scratch/octaveorgvpath$
I've checked that I'm not out of disk quota this time.
David
make all-recursive
make[1]: Entering directory `/scratch/octaveorgvpath'
Making all in libgnu
make[2]: Entering directory `/scratch/octaveorgvpath/libgnu'
make all-recursive
make[3]: Entering directory `/scratch/octaveorgvpath/libgnu'
make[4]: Entering directory `/scratch/octaveorgvpath/libgnu'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/scratch/octaveorgvpath/libgnu'
make[3]: Leaving directory `/scratch/octaveorgvpath/libgnu'
make[2]: Leaving directory `/scratch/octaveorgvpath/libgnu'
Making all in libcruft
make[2]: Entering directory `/scratch/octaveorgvpath/libcruft'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/scratch/octaveorgvpath/libcruft'
Making all in liboctave
make[2]: Entering directory `/scratch/octaveorgvpath/liboctave'
make all-am
make[3]: Entering directory `/scratch/octaveorgvpath/liboctave'
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I/Home/staff/davidg/octave-patching/octaveorg/liboctave -I..
-I/Home/staff/davidg/octave-patching/dependencies/CHOLMOD/Include/
-I/Home/staff/davidg/octave-patching/dependencies/UMFPACK/Include/
-I/Home/staff/davidg/octave-patching/dependencies/AMD/Include/
-I/Home/staff/davidg/octave-patching/dependencies/CAMD/Include/
-I/Home/staff/davidg/octave-patching/dependencies/COLAMD/Include/
-I/Home/staff/davidg/octave-patching/dependencies/CCOLAMD/Include/
-I/Home/staff/davidg/octave-patching/dependencies/CXSparse/Include/
-I/Home/staff/davidg/octave-patching/dependencies/UFconfig/ -I../libgnu
-I/Home/staff/davidg/octave-patching/octaveorg/libgnu
-I/Home/staff/davidg/octave-patching/octaveorg/libcruft/misc
-I/Home/staff/davidg/octave-patching/dependencies/UFconfig/ -O0 -ggdb
-DHAVE_CONFIG_H -mieee-fp -I/usr/include/freetype2 -Wall -W -Wshadow
-Wold-style-cast -Wformat -O0 -ggdb -pthread -O0 -ggdb -MT
liboctave_la-CMatrix.lo -MD -MP -MF .deps/liboctave_la-CMatrix.Tpo -c -o
liboctave_la-CMatrix.lo `test -f 'CMatrix.cc' || echo
'/Home/staff/davidg/octave-patching/octaveorg/liboctave/'`CMatrix.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I.
-I/Home/staff/davidg/octave-patching/octaveorg/liboctave -I..
-I/Home/staff/davidg/octave-patching/dependencies/CHOLMOD/Include/
-I/Home/staff/davidg/octave-patching/dependencies/UMFPACK/Include/
-I/Home/staff/davidg/octave-patching/dependencies/AMD/Include/
-I/Home/staff/davidg/octave-patching/dependencies/CAMD/Include/
-I/Home/staff/davidg/octave-patching/dependencies/COLAMD/Include/
-I/Home/staff/davidg/octave-patching/dependencies/CCOLAMD/Include/
-I/Home/staff/davidg/octave-patching/dependencies/CXSparse/Include/
-I/Home/staff/davidg/octave-patching/dependencies/UFconfig/ -I../libgnu
-I/Home/staff/davidg/octave-patching/octaveorg/libgnu
-I/Home/staff/davidg/octave-patching/octaveorg/libcruft/misc
-I/Home/staff/davidg/octave-patching/dependencies/UFconfig/ -O0 -ggdb
-DHAVE_CONFIG_H -mieee-fp -I/usr/include/freetype2 -Wall -W -Wshadow
-Wold-style-cast -Wformat -O0 -ggdb -pthread -O0 -ggdb -MT
liboctave_la-CMatrix.lo -MD -MP -MF .deps/liboctave_la-CMatrix.Tpo -c
/Home/staff/davidg/octave-patching/octaveorg/liboctave/CMatrix.cc -fPIC -DPIC
-o .libs/liboctave_la-CMatrix.o
/Home/staff/davidg/octave-patching/octaveorg/liboctave/CMatrix.cc: In member
function âComplexColumnVector ComplexMatrix::solve(MatrixType&, const
ComplexColumnVector&, octave_idx_type&, double&, void (*)(double),
blas_trans_type) constâ:
/Home/staff/davidg/octave-patching/octaveorg/liboctave/CMatrix.cc:2397: error:
ISO C++ says that these are ambiguous, even though the worst conversion for the
first is better than the worst conversion for the second:
/Home/staff/davidg/octave-patching/octaveorg/liboctave/CMatrix.cc:2301: note:
candidate 1: ComplexMatrix ComplexMatrix::solve(MatrixType&, const
ComplexMatrix&, octave_idx_type&, double&, void (*)(double), bool,
blas_trans_type) const
/Home/staff/davidg/octave-patching/octaveorg/liboctave/CMatrix.cc:2393: note:
candidate 2: ComplexColumnVector ComplexMatrix::solve(MatrixType&, const
ComplexColumnVector&, octave_idx_type&, double&, void (*)(double),
blas_trans_type) const
make[3]: *** [liboctave_la-CMatrix.lo] Error 1
make[3]: Leaving directory `/scratch/octaveorgvpath/liboctave'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/scratch/octaveorgvpath/liboctave'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/scratch/octaveorgvpath'
make: *** [all] Error 2
- CMatric.cc: ComplexMatrix::solve call is ambigious,
David Grundberg <=