Re: Bug#103980: g++-3.0: copies constructors

2001-07-23 Thread Martin v. Loewis
> SFS fails to compile with gcc 3.0, and it was tracked down to this > example code that reproduces the error: This is not a bug in the compiler, but in your code. > a << 10; Here, a temporary of class aiosout must be initialized with an expression of type aios. This is defined in section 8.

g++-3.0 copies constructors

2001-07-16 Thread Matthias Klose
>Submitter-Id: net >Originator:Jaakko Niemi <[EMAIL PROTECTED]> >Organization: The Debian project >Confidential: no >Synopsis: g++-3.0 copies constructors >Severity: serious >Priority: medium >Category: c++ >Class: sw-bug >

Bug#103980: g++-3.0: copies constructors

2001-07-16 Thread Laurent Bonnaud
> "Jaakko" == Jaakko Niemi <[EMAIL PROTECTED]> writes: Jaakko> Jaakko> The compile time is not a problem here, but failure building is. Jaakko> Jaakko> You move aiosout (const aiosout &o) ... under public:, which Jaakko> effectively hides the problem. Please take look at: Jaakko> Jaakko>

Bug#103980: g++-3.0: copies constructors

2001-07-15 Thread Jaakko Niemi
Laurent Bonnaud <[EMAIL PROTECTED]> writes: > Hi, > > you write that "apparently", g++ 3.0 tries a longer conversion chain > than 2.95. Indeed, the compiler message let us think so. But to > verify this, I added traces into your testcase. The result is that > both g++ versions use the same con

Bug#103980: g++-3.0: copies constructors

2001-07-14 Thread Daniel Jacobowitz
On Fri, Jul 13, 2001 at 10:05:29AM +0200, Laurent Bonnaud wrote: > > Hi, > > you write that "apparently", g++ 3.0 tries a longer conversion chain > than 2.95. Indeed, the compiler message let us think so. But to > verify this, I added traces into your testcase. The result is that > both g++ ve

Bug#103980: g++-3.0: copies constructors

2001-07-13 Thread Laurent Bonnaud
Hi, you write that "apparently", g++ 3.0 tries a longer conversion chain than 2.95. Indeed, the compiler message let us think so. But to verify this, I added traces into your testcase. The result is that both g++ versions use the same conversion chain (and indeed g++ 3.0 takes much longer to c

Bug#103980: g++-3.0: copies constructors

2001-07-08 Thread Jaakko Niemi
Package: g++-3.0 Version: N/A Severity: normal SFS fails to compile with gcc 3.0, and it was tracked down to this example code that reproduces the error: - class aios { friend class aiosout; public: aios (); ~aios (); }; class aiosout { aiosout (const aiosout &o); aiosou