KDE 3.2.2 Build Problems with GCC 3.4
hausmann at kde.org
Sun May 9 22:31:01 BST 2004
On Sunday 09 May 2004 22:12, Simon Hausmann wrote:
> On Sunday 09 May 2004 19:44, André Wöbbeking wrote:
> > Hi Simon,
> > On Saturday 08 May 2004 11:45, Simon Hausmann wrote:
> > > On Saturday 08 May 2004 11:14, André Wöbbeking wrote:
> > > > could you tell me the section in the standard. Every time I'm tring
> > > > to find something in the standard I'm lost.
> > >
> > > From gcc.gnu.org:
> > > "[dcl.init.ref]/5, bullet 2, sub-bullet 1 and [class.temporary]/2"
> > >
> > > That's 18.104.22.168 and 12.2.2, if you prefer numbering scheme.
> > thank you.
> > > > So the attached file shouldn't compile? Hmm, it does (with GCC 3.3
> > > > and 3.4).
> > >
> > > None of the two foo calls involves binding an rvalue to the const
> > are you sure? For foo(1) a temporary Dummy object must be created
> > implicitly.
I realize my analysis regarding the foo(1) example is nonsense. I don't
understand why foo(1) is accepted, in the light of 12.2.1.
More information about the kde-core-devel