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

cpp check doesnt take into account --std=c++11 options

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 4.11.0
    • None
    • Windows 10
    • Windows

    Description

      When running cpp check, the options are ignored.

      In the options configuration, I have "--std=c+11 --language=c+". But when I check the run command with "Show Raw output", the argument are not there :

       

      Cppcheck started: "C:/Program Files/Cppcheck/cppcheck.exe ".

       

      And I have c++98 warnings in my code.

       

      Note: If I add an invalid command argument, its correctly detected as invalid

      Attachments

        Issue Links

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

          Activity

            People

              kosjar Nikolai Kosjar
              mwoua David Levy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes