Uploaded image for project: 'Qt Visual Studio Tools'
  1. Qt Visual Studio Tools
  2. QTVSADDINBUG-977

Version 2.8.1.6 causes C2440 & C2664 error code

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Need More Info
    • Priority: Not Evaluated
    • Resolution: Incomplete
    • Affects Version/s: 2.8.1
    • Fix Version/s: None
    • Component/s: Build-time integration
    • Labels:
      None
    • Environment:
      Visual Studio 2019 V16.11.8 ,Window 10 20H2
    • Platform/s:
      Windows

      Description

      This morning Visual updated my extension to 2.8.1.6.
      Then I came across a lot of compilation errors C2440 & C2664.
      If I rollback to 2.7.2, everything is back to normal.

       

      From my investigation, the issue comes from the new additional options for compilation:

       

      The Qt_CL_OPTIONS_ value is:

      -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus

       

      Is there a way to configure theses options?

       

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              mecfc Miguel Costa
              Reporter:
              aurel Aurélien Meurenand
              Votes:
              4 Vote for this issue
              Watchers:
              14 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes