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

[Pkg-octave-devel] Bug#362423: marked as done (FTBFS with GCC 4.2: ambiguous overload for 'operator==')



Your message dated Tue, 5 Sep 2006 21:49:59 +0200
with message-id <20060905194959.GF11196@laboiss2>
and subject line Bug#362423: [tbm@cyrius.com: [Pkg-octave-devel] Bug#362219: FTBFS with GCC 4.2: ambiguous overload for 'operator==']
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: octave2.1
Version: 1:2.1.73-2

Your package fails to build with GCC 4.2.  Version 4.2 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  The bug below is in your package
and not because I'm using a snapshot of the compiler so please take a
look at it.  You can reproduce this with the gcc-snapshot package.

Same problem as octave2.9.

> Automatic build of octave2.1_1:2.1.73-2 on em64t by sbuild/amd64 1.112
...
> /usr/bin/g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H  -Wall -W -Wshadow -O2 load-save.cc -o pic/load-save.o
> ls-hdf5.h:70: warning: unused parameter 'prot'
> load-save.cc: In function 'octave_value_list Fsave(const octave_value_list&, int)':
> load-save.cc:1483: error: ambiguous overload for 'operator==' in 'file. std::basic_ofstream<_CharT, _Traits>::rdbuf [with _CharT = char, _Traits = std::char_traits<char>]()->std::basic_filebuf<char, std::char_traits<char> >::<anonymous>.std::basic_streambuf<_CharT, _Traits>::pubseekoff [with _CharT = char, _Traits = std::char_traits<char>](0l, _S_cur, std::operator|(_S_in, _S_out)) == std::fpos<__mbstate_t>(0l)'
> load-save.cc:1483: note: candidates are: operator==(std::streamoff, std::streamoff) <built-in>
> ../liboctave/oct-inttypes.h:583: note:                 bool operator==(const octave_int<unsigned int>&, const octave_int<signed char>&)
> ../liboctave/oct-inttypes.h:583: note:                 bool operator==(const octave_int<signed char>&, const octave_int<unsigned int>&)
> ../liboctave/oct-inttypes.h:584: note:                 bool operator==(const octave_int<unsigned int>&, const octave_int<short int>&)
> ../liboctave/oct-inttypes.h:584: note:                 bool operator==(const octave_int<short int>&, const octave_int<unsigned int>&)
> ../liboctave/oct-inttypes.h:585: note:                 bool operator==(const octave_int<unsigned int>&, const octave_int<int>&)
> ../liboctave/oct-inttypes.h:585: note:                 bool operator==(const octave_int<int>&, const octave_int<unsigned int>&)
> ../liboctave/oct-inttypes.h:587: note:                 bool operator==(const octave_int<long unsigned int>&, const octave_int<signed char>&)
> ../liboctave/oct-inttypes.h:587: note:                 bool operator==(const octave_int<signed char>&, const octave_int<long unsigned int>&)
> ../liboctave/oct-inttypes.h:588: note:                 bool operator==(const octave_int<long unsigned int>&, const octave_int<short int>&)
> ../liboctave/oct-inttypes.h:588: note:                 bool operator==(const octave_int<short int>&, const octave_int<long unsigned int>&)
> ../liboctave/oct-inttypes.h:589: note:                 bool operator==(const octave_int<long unsigned int>&, const octave_int<int>&)
> ../liboctave/oct-inttypes.h:589: note:                 bool operator==(const octave_int<int>&, const octave_int<long unsigned int>&)
> ../liboctave/oct-inttypes.h:590: note:                 bool operator==(const octave_int<long unsigned int>&, const octave_int<long int>&)
> ../liboctave/oct-inttypes.h:590: note:                 bool operator==(const octave_int<long int>&, const octave_int<long unsigned int>&)
> ../liboctave/oct-inttypes.h:622: note:                 bool operator==(const octave_int<unsigned int>&, const octave_int<long int>&)
> ../liboctave/oct-inttypes.h:622: note:                 bool operator==(const octave_int<long int>&, const octave_int<unsigned int>&)
> make[3]: *** [pic/load-save.o] Error 1
> make[3]: Leaving directory `/build/tbm/octave2.1-2.1.73/src'
> make[2]: *** [src] Error 2

-- 
Martin Michlmayr
http://www.cyrius.com/


--- End Message ---
--- Begin Message ---
* Martin Michlmayr <tbm@cyrius.com> [2006-09-05 19:56]:

> * John W. Eaton <jwe@bevo.che.wisc.edu> [2006-09-05 10:36]:
> > | the octave2.1 package.  See http://bugs.debian.org/362423
> > 
> > Does the following patch help?  I think this is how we avoided the
> > problem for 2.9.x.
> 
> For some reason I cannot reproduce the original problem but in any
> case the new code works.

Thanks for the quick confirmation.  I am hereby closing this bug report, as
well as #362219 because the patch proposed by John is already present
in the octave2.9 package. 

-- 
Rafael

--- End Message ---

Reply to: