Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-25308

Configuring with -D QT_NO_DEBUG_OUTPUT -D QT_NO_WARNING_OUTPUT causes a compile crash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 4.8.2
    • 4.8.1
    • Core: I/O
    • Ubuntu 11.04, Solaris 10
    • 1ee610f8fd1195026405a6f2da0d213c5da8816a

    Description

      If compiling with those flags mentioned in the summary field it causes a crash:
      "access/qhttpthreaddelegate.cpp", line 348: Error: Too few arguments in call to "qWarning(const char*, ...)".
      "access/qhttpthreaddelegate.cpp", line 404: Error: Too few arguments in call to "qWarning(const char*, ...)".

      and in here:
      line 785 in qt/src/network/access/qnetworkreplyimpl.cpp to this:

      The error can be fixed by changing the
      qWarning() << "some text";
      to
      qWarning("some text");

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            andysh Andy Shaw
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes