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

List:       kde-core-devel
Subject:    Re: kdebug
From:       David Faure <faure () kde ! org>
Date:       2000-02-06 17:27:29
[Download RAW message or body]

On Sun, Feb 06, 2000 at 05:20:10PM +0000, Stephan Kulow wrote:
> David Faure wrote:
> > 
> > On Sun, Feb 06, 2000 at 05:07:56PM +0000, Stephan Kulow wrote:
> > > David Faure wrote:
> > > >
> > > > On Sun, Feb 06, 2000 at 11:01:27AM -0500, Christopher Molnar wrote:
> > > > > On Sun, 06 Feb 2000, Stephan Kulow wrote:
> > > > > > Hi!
> > > > > >
> > > > > > Does noone get this error?
> > > > > >
> > > > > > /home/coolo/prod/kdebase/kcontrol/syssound/syssound.cpp: In method `void
> > > > > > KSoundWidget::eventSelected(int)':
> > > > > > /home/coolo/prod/kdebase/kcontrol/syssound/syssound.cpp:301: call of
> > > > > > overloaded `kDebugInfo (const char[24], int &, const char *)' is
> > > > > > ambiguous
> > > > > > /home/coolo/prod/KDE/include/kdebug.h:70: candidates are: void
> > > > > > kDebugInfo(const char *, ...)
> > > > > > /home/coolo/prod/KDE/include/kdebug.h:72:                 void
> > > > > > kDebugInfo(bool, short unsigned int, const char *, ...)
> > > > > >
> > > > >
> > > > > Yeh, I got it here as well.... Thought it was jsut me.
> > > > >
> > > >
> > > > Which compiler ?
> > > >
> > > > Stephan, I thought you had gcc 2.95 ? Oh, this is with CC, right ?
> > > > I don't get this with gcc 2.95.2
> > > >
> > > Guess, you already have Simon's fix :)
> > > Try kdelibs/kdecore/tests/kdebugtest and see if you get it too
> > 
> > Oooh. Indeed. I thought this problem happened all over KDE and was
> > just a warning. Ooops. I see now.
> > 
> > Well this is the opportunity for the nana guys to say : just remove
> > the methods with a bool from kdebug and use nana instead ! :-)
> > 
> > Still, to me it's a compiler bug :-)
> > 
> Which doesn't help you :)
> 

Note that it compiles fine without -pedantic.

Much like the previous bug I reported to them (what was it ? can't remember...
Ah yes some 'multiple inheritance and which method to call' bug),
everything works fine when -pedantic isn't used.

Time to get rid of -pedantic ?
(I liked it, but if it triggers bugs...)

-- 
David FAURE
david@mandrakesoft.com, faure@kde.org
http://home.clara.net/faure/
KDE, Making The Future of Computing Available Today

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

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