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

Bug#203303: linux/byteorder/swab.h: ISO C++ forbids braced-groups within expressions



On Sat, Nov 01, 2003 at 05:56:44PM -0500, Daniel Jacobowitz wrote:
> On Fri, Oct 17, 2003 at 11:05:23PM -0500, Chris Cheney wrote:
> > I thought that upstream had worked around this issue but I just tried
> > recompiling kdemultimedia and it still fails the same way. Is anyone
> > planning to upload a fixed libc6-dev anytime soon? I even tried using
> > -fpermissive as someone had said could work around the issue but it did
> > not help.
> > 
> > Chris
> 
> The next upload of linux-kernel-headers should fix it.  It doesn't let
> kdemultimedia build though.  I still get:
> 
> ../../kmidi/kmidi.cpp: In member function `void KMidi::redoplaybox()':
> ../../kmidi/kmidi.cpp:1215: error: call of overloaded `insert(char, int)' is
>    ambiguous
> /usr/include/qt3/qstring.h:515: error: candidates are: QString&
>    QString::insert(unsigned int, const QString&)
> /usr/include/qt3/qstring.h:896: error:                 QString&
>    QString::insert(unsigned int, const QByteArray&)
> /usr/include/qt3/qstring.h:893: error:                 QString&
>    QString::insert(unsigned int, const char*)
> /usr/include/qt3/qstring.h:521: error:                 QString&
>    QString::insert(unsigned int, QChar)
> /usr/include/qt3/qstring.h:522: error:                 QString&
>    QString::insert(unsigned int, char)
> make[4]: *** [kmidi.o] Error 1

This may have been fixed with KDE 3.1.4, the version of kdemultimedia in
the archive is from KDE 3.1.2. I will take a look at it further once the
new linux-kernel-headers are in the archive.

Thanks,
Chris

Attachment: signature.asc
Description: Digital signature


Reply to: