Trolltech Home | Qt4-preview-feedback Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt4-preview-feedback Archive, May 2007
Re: qt-4.3-20070413: compiling with debug turned off does not work


Message 1 in thread

...still the case with qt-4.3-20070524 :(


On Saturday 14. April 2007, Nico Kruber wrote:
> 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

Attachment:

Attachment: signature.asc
Description: This is a digitally signed message part.