I am receiving the following warning when compiling a Qt project, but ONLY on Mac OS X with GCC. Windows with MinGW and Linux with GCC do not emit this warning.
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qtextcodec.h:175: warning: 'QCoreXmlStreamWriter' is already a friend of 'QTextEncoder'
Why is this showing up and how can I get rid of it? Did I include some headers in an incorrect order or something like that?
qtextcodec.h is included by QtCore, which I include in several header files.
Please let me know if more information is needed.
According to the Qt issue tracker. It is a bug QTBUG-8243, but nobody has provided a work around. Perhaps browsing the patch they mention might shed some light.