| Trolltech Home | Qt4-preview-feedback Home | Recent Threads | All Threads | Author | Date | |
| All threads index page 1 | |
when I try to compile a file using #include <QtDebug> with the macros
-DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_NO_DEBUG
I get the following errors:
Qt-4.3.0-20070413/include/QtCore/qdebug.h:100: error: expected unqualified-id before âifâ
Qt-4.3.0-20070413/include/QtCore/qdebug.h:100: error: expected unqualified-id before âelseâ
here is the relating source code after macro expansion:
__attribute__((visibility("default"))) inline QDebug if(1); else qWarning() { return QDebug(QtWarningMsg); }
I guess this should expand differently then
To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx