[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: kdepim/kresources/slox
From:       Daniel Molkentin <molkentin () kde ! org>
Date:       2005-04-04 11:12:55
Message-ID: 200504041312.55797.molkentin () kde ! org
[Download RAW message or body]

On Monday, 4. April 2005 12:54, Adriaan de Groot wrote:
> On Mon, 4 Apr 2005, Tobias Koenig wrote:
> > CVS commit by tokoe:
> >
> > Applyed patch of 101557 to make it compile with gcc4/amd64
> > -  kdDebug() << "KCalResourceSlox::load() " << int( this ) << endl;
> > +  kdDebug() << "KCalResourceSlox::load() " << long( this ) << endl;
>
> Cast to (void *) to get it to (a) print in hex (b) not complain on
> machines where longs are still a different size from pointers.

isn't there a ptr_t o somesuch which is to be preferred in such situations? If 
so, kdDebug should handle those.

Cheers,
  Daniel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic