XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Out of scope
    • Affects Version/s: 2.6.0
    • Fix Version/s: None
    • Component/s: Qt/MSBuild
    • Labels:
      None
    • Platform/s:
      Windows

      Description

      Hi there,

      I have a projects, could build well under linux/macos/win10 with Qt5, also build well under linux/macos with Qt6. But I have compiling error under win10, as following

      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\rpcndr.h(192): error C2872: 'byte': 模稜兩可的符號
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\rpcndr.h(191): note: 可能是 'unsigned char byte'
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\cstddef(29): note: 或 'std::byte'
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\rpcndr.h(962): error C2872: 'byte': 模稜兩可的符號
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\rpcndr.h(191): note: 可能是 'unsigned char byte'
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\cstddef(29): note: 或 'std::byte'
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\rpcndr.h(970): error C2872: 'byte': 模稜兩可的符號
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\rpcndr.h(191): note: 可能是 'unsigned char byte'
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\cstddef(29): note: 或 'std::byte'
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\wtypesbase.h(437): error C2872: 'byte': 模稜兩可的符號
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\rpcndr.h(191): note: 可能是 'unsigned char byte'
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\cstddef(29): note: 或 'std::byte'
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\wtypesbase.h(462): error C2872: 'byte': 模稜兩可的符號
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\rpcndr.h(191): note: 可能是 'unsigned char byte'
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\cstddef(29): note: 或 'std::byte'
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\wtypesbase.h(479): error C2872: 'byte': 模稜兩可的符號
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\rpcndr.h(191): note: 可能是 'unsigned char byte'
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\cstddef(29): note: 或 'std::byte'
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\wtypes.h(77): error C2872: 'byte': 模稜兩可的符號
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\rpcndr.h(191): note: 可能是 'unsigned char byte'
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\cstddef(29): note: 或 'std::byte'
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\wtypes.h(86): error C2872: 'byte': 模稜兩可的符號
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\rpcndr.h(191): note: 可能是 'unsigned char byte'
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\cstddef(29): note: 或 'std::byte'
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\wtypes.h(92): error C2872: 'byte': 模稜兩可的符號
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\rpcndr.h(191): note: 可能是 'unsigned char byte'
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\cstddef(29): note: 或 'std::byte'
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\wtypes.h(98): error C2872: 'byte': 模稜兩可的符號
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\rpcndr.h(191): note: 可能是 'unsigned char byte'
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\cstddef(29): note: 或 'std::byte'
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\wtypes.h(104): error C2872: 'byte': 模稜兩可的符號
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\rpcndr.h(191): note: 可能是 'unsigned char byte'
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\cstddef(29): note: 或 'std::byte'
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\wtypes.h(110): error C2872: 'byte': 模稜兩可的符號
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\rpcndr.h(191): note: 可能是 'unsigned char byte'
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\cstddef(29): note: 或 'std::byte'
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\wtypes.h(485): error C2872: 'byte': 模稜兩可的符號
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\rpcndr.h(191): note: 可能是 'unsigned char byte'
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\cstddef(29): note: 或 'std::byte'
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\objidlbase.h(2175): error C2872: 'byte': 模稜兩可的符號
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\rpcndr.h(191): note: 可能是 'unsigned char byte'
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\cstddef(29): note: 或 'std::byte'
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\objidlbase.h(2189): error C2872: 'byte': 模稜兩可的符號
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\rpcndr.h(191): note: 可能是 'unsigned char byte'
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\cstddef(29): note: 或 'std::byte'
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\objidlbase.h(7881): error C2872: 'byte': 模稜兩可的符號
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\rpcndr.h(191): note: 可能是 'unsigned char byte'
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\cstddef(29): note: 或 'std::byte'
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\objidlbase.h(7897): error C2872: 'byte': 模稜兩可的符號
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\rpcndr.h(191): note: 可能是 'unsigned char byte'
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\cstddef(29): note: 或 'std::byte'
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\objidl.h(9745): error C2872: 'byte': 模稜兩可的符號
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\rpcndr.h(191): note: 可能是 'unsigned char byte'
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\cstddef(29): note: 或 'std::byte'
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\objidl.h(10274): error C2872: 'byte': 模稜兩可的符號
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\rpcndr.h(191): note: 可能是 'unsigned char byte'
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\cstddef(29): note: 或 'std::byte'
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\objidl.h(10306): error C2872: 'byte': 模稜兩可的符號
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\rpcndr.h(191): note: 可能是 'unsigned char byte'
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\cstddef(29): note: 或 'std::byte'
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\objidl.h(10785): error C2872: 'byte': 模稜兩可的符號
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\rpcndr.h(191): note: 可能是 'unsigned char byte'
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\cstddef(29): note: 或 'std::byte'
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\objidl.h(10800): error C2872: 'byte': 模稜兩可的符號
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\rpcndr.h(191): note: 可能是 'unsigned char byte'
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\cstddef(29): note: 或 'std::byte'
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\objidl.h(11243): error C2872: 'byte': 模稜兩可的符號
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\rpcndr.h(191): note: 可能是 'unsigned char byte'
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\cstddef(29): note: 或 'std::byte'
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\objidl.h(12976): error C2872: 'byte': 模稜兩可的符號
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\rpcndr.h(191): note: 可能是 'unsigned char byte'
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\cstddef(29): note: 或 'std::byte'
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\objidl.h(12991): error C2872: 'byte': 模稜兩可的符號
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\rpcndr.h(191): note: 可能是 'unsigned char byte'
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\cstddef(29): note: 或 'std::byte'
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\objidl.h(14657): error C2872: 'byte': 模稜兩可的符號
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\rpcndr.h(191): note: 可能是 'unsigned char byte'
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\cstddef(29): note: 或 'std::byte'
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\objidl.h(14673): error C2872: 'byte': 模稜兩可的符號
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\rpcndr.h(191): note: 可能是 'unsigned char byte'
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\cstddef(29): note: 或 'std::byte'
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\objidl.h(14820): error C2872: 'byte': 模稜兩可的符號
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\rpcndr.h(191): note: 可能是 'unsigned char byte'
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\cstddef(29): note: 或 'std::byte'
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\objidl.h(14859): error C2872: 'byte': 模稜兩可的符號
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\rpcndr.h(191): note: 可能是 'unsigned char byte'
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\cstddef(29): note: 或 'std::byte'
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\objidl.h(14876): error C2872: 'byte': 模稜兩可的符號
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\rpcndr.h(191): note: 可能是 'unsigned char byte'
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\cstddef(29): note: 或 'std::byte'
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\objidl.h(14893): error C2872: 'byte': 模稜兩可的符號
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\rpcndr.h(191): note: 可能是 'unsigned char byte'
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\cstddef(29): note: 或 'std::byte'
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\objidl.h(15138): error C2872: 'byte': 模稜兩可的符號
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\rpcndr.h(191): note: 可能是 'unsigned char byte'
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\cstddef(29): note: 或 'std::byte'
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\objidl.h(15157): error C2872: 'byte': 模稜兩可的符號
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\rpcndr.h(191): note: 可能是 'unsigned char byte'
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\cstddef(29): note: 或 'std::byte'
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\oaidl.h(563): error C2872: 'byte': 模稜兩可的符號
      C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\rpcndr.h(191): note: 可能是 'unsigned char byte'
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\cstddef(29): note: 或 'std::byte'

        Attachments

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

          Activity

            People

            Assignee:
            mecfc Miguel Costa
            Reporter:
            james.lin James Lin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes