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

MSVC compiler warning not detected completely

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • Qt Creator 5.0.1
    • None

    Description

      When parsing a C4267 warning from cl compiler, Qt Creator only detects the second part and shows it in the issues pane.

      Compiler Output:

      [19/20 1.8/sec] Building CXX object qtcreator\src\plugins\debugger\CMakeFiles\Debugger.dir\watchhandler.cpp.obj
      C:\dev\creator\master\src\qtcreator\src\plugins\debugger\watchhandler.cpp(136): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
      C:\dev\creator\master\src\qtcreator\src\plugins\debugger\watchhandler.cpp(150): note: see reference to function template instantiation 'void Debugger::Internal::readNumericVectorHelper<signed char>(std::vector<double,std::allocator<double>> *,const QByteArray &)' being compiled
      C:\dev\creator\master\src\qtcreator\src\plugins\debugger\watchhandler.cpp(136): warning C4267: 'initializing': conversion from 'size_t' to 'const int', possible loss of data
      

      Issue pane:

      Compiler Output Pane:

      Attachments

        1. screenshot-1.png
          screenshot-1.png
          22 kB
        2. screenshot-2.png
          screenshot-2.png
          48 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes