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

List:       kde-devel
Subject:    A Qt Warning using gcc v4.1.1
From:       Allen Winter <winter () kde ! org>
Date:       2006-12-29 23:36:23
Message-ID: 200612291836.24810.winter () kde ! org
[Download RAW message or body]

Howdy Gurus,

Since upgrading to Fedora Core 6 and using gcc v4.1.1, I'm seeing many warnings
like the following when compiling our stuff in trunk:

/data/kde/trunk/qt-copy/include/Qt/../../src/corelib/tools/qmap.h: In instantiation \
                of ‘QMap<QString, QVariant>':
/data/kde/trunk/qt-copy/include/Qt/../../src/corelib/kernel/qvariant.h:409:   \
                instantiated from here
/data/kde/trunk/qt-copy/include/Qt/../../src/corelib/tools/qmap.h:376: warning: \
lowering visibility of ‘QDataStream& operator>>(QDataStream&, QMap<aKey, aT>&) \
                [with aKey = aKey, aT = aT, Key = QString, T = QVariant]' to match \
                its type
/data/kde/trunk/qt-copy/include/Qt/../../src/corelib/tools/qmap.h: In instantiation \
                of ‘QMap<QString, QString>':
/usr/local/KDE-4.0.0/include/kconfigbase.h:1711:   instantiated from here
/data/kde/trunk/qt-copy/include/Qt/../../src/corelib/tools/qmap.h:376: warning: \
lowering visibility of ‘QDataStream& operator>>(QDataStream&, QMap<aKey, aT>&) \
                [with aKey = aKey, aT = aT, Key = QString, T = QString]' to match its \
                type
/data/kde/trunk/qt-copy/include/Qt/../../src/corelib/tools/qmap.h: In instantiation \
                of ‘QMap<KEntryKey, KEntry>':
/usr/local/KDE-4.0.0/include/kconfigdata.h:140:   instantiated from here
/data/kde/trunk/qt-copy/include/Qt/../../src/corelib/tools/qmap.h:376: warning: \
lowering visibility of ‘QDataStream& operator>>(QDataStream&, QMap<aKey, aT>&) \
                [with aKey = aKey, aT = aT, Key = KEntryKey, T = KEntry]' to match \
                its type
/data/kde/trunk/qt-copy/include/Qt/../../src/corelib/tools/qmap.h: In instantiation \
                of ‘QMap<QString, QVariant::Type>':
/usr/local/KDE-4.0.0/include/kservicetype.h:213:   instantiated from here
/data/kde/trunk/qt-copy/include/Qt/../../src/corelib/tools/qmap.h:376: warning: \
lowering visibility of ‘QDataStream& operator>>(QDataStream&, QMap<aKey, aT>&) \
                [with aKey = aKey, aT = aT, Key = QString, T = QVariant::Type]' to \
                match its type
/data/kde/trunk/qt-copy/include/Qt/../../src/corelib/tools/qmap.h: In instantiation \
                of ‘QMap<KPIM::ProgressItem*, bool>':
/data/kde/trunk/KDE/kdepim/libkdepim/progressmanager.h:213:   instantiated from here
/data/kde/trunk/qt-copy/include/Qt/../../src/corelib/tools/qmap.h:376: warning: \
lowering visibility of ‘QDataStream& operator>>(QDataStream&, QMap<aKey, aT>&) \
                [with aKey = aKey, aT = aT, Key = KPIM::ProgressItem*, T = bool]' to \
                match its type
/data/kde/trunk/qt-copy/include/Qt/../../src/corelib/tools/qmap.h: In instantiation \
of ‘QMap<QString, int>':

I'm using:
gcc (GCC) 4.1.1 20061011 (Red Hat 4.1.1-30)

Not sure if these warnings mean a bug in the compiler, or some code that needs to be \
fixed in Qt4.

Anyone know?
-Allen
-- 
This is my KDE signature
 
> > Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


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

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