Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-28406

"Issues" tab doesn't work with MSVC

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • Qt Creator 6.0.2, Qt Creator 8.0.2
    • Editors
    • None
    • Windows

    Description

      The "issues" pane when compiling with MSVC just doesn't work for most warnings and some errors. Compiler warnings that print in the Compiler Output don't appear in the Issues pane. I'm assuming Creator just can't parse CL output? CL's output form is different than GCC's.

      Edit:

      Here are some exampes of CL output that isn't parsed into the "issues" tab:

      compstep.cpp(17): warning C4305: 'initializing': truncation from 'double' to 'float'
      vidmap.cpp(19): warning C4474: 'fprintf' : too many arguments passed for format string
      vidmap.cpp(19): note: placeholders and their parameters expect 2 variadic arguments, but 3 were provided
      vidmap.cpp(20): warning C4474: 'fprintf' : too many arguments passed for format string
      vidmap.cpp(20): note: placeholders and their parameters expect 2 variadic arguments, but 3 were provided
      motionmaskstep.cpp(27): warning C4189: 'needprev': local variable is initialized but not referenced

      Also one of those messages has a misparsed portion in the middle:

      Note that the file(line) at the start was not parsed, but the "t 3 were provi" text was. Clicking on the link with the 3 in it, however, does still go to the correct file and line number.

      Attachments

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

        Activity

          People

            davschul David Schulz
            jasonc Jason Cipriani
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes