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

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



Your message dated Wed, 12 Apr 2006 23:55:02 +0200
with message-id <20060412215502.GC21576@laboiss2>
has caused the Debian Bug report #362219,
regarding FTBFS with GCC 4.2: ambiguous overload for 'operator=='
to be marked as having been forwarded to the upstream software
author(s) bug@octave.org.

(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.9
tags 362219 upstream
thanks


I am forwarding below a bug report filed against the octave2.9 Debian
package.  I have not checked the problems myself, but Martin Milchmayr is
doing a very good job on building the Debian packages with the prospective
gcc compiler.

Please, notice that the bug report was filed against version 2.9.4. The
bugs may already be fixed in 2.9.5 or in CVS.

Martin, could you please check if the same problem exist with version
2.9.5-3, which is in unstable now?

Rafael



----- Forwarded message from Martin Michlmayr <tbm@cyrius.com> -----

From: Martin Michlmayr <tbm@cyrius.com>
Subject: [Pkg-octave-devel] Bug#362219: FTBFS with GCC 4.2: ambiguous
	overload for 'operator=='
Date: Wed, 12 Apr 2006 22:54:08 +0200
To: submit@bugs.debian.org
Reply-To: Martin Michlmayr <tbm@cyrius.com>, 362219@bugs.debian.org

Package: octave2.9
Version: 2.9.4-13

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.  While the compiler error is
obviously not your problem (reported as #361602), it seems there are
some bugs in your package as well.  You can reproduce this with the
gcc-snapshot package.


> Automatic build of octave2.9_2.9.4-13 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:1689: error: ambiguous overload for 'operator==' in 'file. gzofstream::rdbuf()->gzfilebuf::<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:1689: note: candidates are: operator==(std::streamoff, std::streamoff) <built-in>
> ../liboctave/oct-inttypes.h:585: note:                 bool operator==(const octave_int<unsigned int>&, const octave_int<signed char>&)
> ../liboctave/oct-inttypes.h:585: note:                 bool operator==(const octave_int<signed char>&, const octave_int<unsigned int>&)
> ../liboctave/oct-inttypes.h:586: note:                 bool operator==(const octave_int<unsigned int>&, const octave_int<short int>&)
> ../liboctave/oct-inttypes.h:586: note:                 bool operator==(const octave_int<short int>&, const octave_int<unsigned int>&)
> ../liboctave/oct-inttypes.h:587: note:                 bool operator==(const octave_int<unsigned int>&, const octave_int<int>&)
> ../liboctave/oct-inttypes.h:587: note:                 bool operator==(const octave_int<int>&, const octave_int<unsigned int>&)
> ../liboctave/oct-inttypes.h:589: note:                 bool operator==(const octave_int<long unsigned int>&, const octave_int<signed char>&)
> ../liboctave/oct-inttypes.h:589: note:                 bool operator==(const octave_int<signed char>&, const octave_int<long unsigned int>&)
> ../liboctave/oct-inttypes.h:590: note:                 bool operator==(const octave_int<long unsigned int>&, const octave_int<short int>&)
> ../liboctave/oct-inttypes.h:590: note:                 bool operator==(const octave_int<short int>&, const octave_int<long unsigned int>&)
> ../liboctave/oct-inttypes.h:591: note:                 bool operator==(const octave_int<long unsigned int>&, const octave_int<int>&)
> ../liboctave/oct-inttypes.h:591: note:                 bool operator==(const octave_int<int>&, const octave_int<long unsigned int>&)
> ../liboctave/oct-inttypes.h:592: note:                 bool operator==(const octave_int<long unsigned int>&, const octave_int<long int>&)
> ../liboctave/oct-inttypes.h:592: note:                 bool operator==(const octave_int<long int>&, const octave_int<long unsigned int>&)
> ../liboctave/oct-inttypes.h:624: note:                 bool operator==(const octave_int<unsigned int>&, const octave_int<long int>&)
> ../liboctave/oct-inttypes.h:624: note:                 bool operator==(const octave_int<long int>&, const octave_int<unsigned int>&)
> load-save.cc:1711: 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:1711: note: candidates are: operator==(std::streamoff, std::streamoff) <built-in>
> ../liboctave/oct-inttypes.h:585: note:                 bool operator==(const octave_int<unsigned int>&, const octave_int<signed char>&)
> ../liboctave/oct-inttypes.h:585: note:                 bool operator==(const octave_int<signed char>&, const octave_int<unsigned int>&)
> ../liboctave/oct-inttypes.h:586: note:                 bool operator==(const octave_int<unsigned int>&, const octave_int<short int>&)
> ../liboctave/oct-inttypes.h:586: note:                 bool operator==(const octave_int<short int>&, const octave_int<unsigned int>&)
> ../liboctave/oct-inttypes.h:587: note:                 bool operator==(const octave_int<unsigned int>&, const octave_int<int>&)
> ../liboctave/oct-inttypes.h:587: note:                 bool operator==(const octave_int<int>&, const octave_int<unsigned int>&)
> ../liboctave/oct-inttypes.h:589: note:                 bool operator==(const octave_int<long unsigned int>&, const octave_int<signed char>&)
> ../liboctave/oct-inttypes.h:589: note:                 bool operator==(const octave_int<signed char>&, const octave_int<long unsigned int>&)
> ../liboctave/oct-inttypes.h:590: note:                 bool operator==(const octave_int<long unsigned int>&, const octave_int<short int>&)
> ../liboctave/oct-inttypes.h:590: note:                 bool operator==(const octave_int<short int>&, const octave_int<long unsigned int>&)
> ../liboctave/oct-inttypes.h:591: note:                 bool operator==(const octave_int<long unsigned int>&, const octave_int<int>&)
> ../liboctave/oct-inttypes.h:591: note:                 bool operator==(const octave_int<int>&, const octave_int<long unsigned int>&)
> ../liboctave/oct-inttypes.h:592: note:                 bool operator==(const octave_int<long unsigned int>&, const octave_int<long int>&)
> ../liboctave/oct-inttypes.h:592: note:                 bool operator==(const octave_int<long int>&, const octave_int<long unsigned int>&)
> ../liboctave/oct-inttypes.h:624: note:                 bool operator==(const octave_int<unsigned int>&, const octave_int<long int>&)
> ../liboctave/oct-inttypes.h:624: note:                 bool operator==(const octave_int<long int>&, const octave_int<unsigned int>&)
> load-save.cc: At global scope:
> load-save.cc:1910: error: inlined_to pointer is set but no predecesors found
> virtual octave_localtime::~octave_localtime()/6461: (inline copy in void write_header(std::ostream&, load_save_format)/2862) availability:available(706) 36 insns (55 after inlining) tree externally_visible finalized inlinable
>   called by: 
>   calls: octave_base_tm::~octave_base_tm()/6462 (inlined) void operator delete(void*)/5088 
> load-save.cc:1910: internal compiler error: verify_cgraph_node failed
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> make[3]: *** [pic/load-save.o] Error 1
> make[3]: Leaving directory `/build/tbm/octave2.9-2.9.4/src'

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


_______________________________________________
Pkg-octave-devel mailing list
Pkg-octave-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-octave-devel


----- End forwarded message -----

-- 
Rafael

--- End Message ---

Reply to: