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

clang analyzer needs _CRT_USE_BUILTIN_OFFSETOF defined on Windows when MSVC is the kit

    XMLWordPrintable

Details

    Description

      eclang analyzer needs _CRT_USE_BUILTIN_OFFSETOF defined on Windows when MSVC is the kit as this will eliminate some issues found in the headers provided with Visual C++ such as:

      xstring:1905:26: error:
      constexpr variable '_Memcpy_move_offset' must be initialized by a constant expression static constexpr size_t _Memcpy_move_offset = offsetof(_Mydata_t, _Bx);
      

      Attachments

        Issue Links

          For Gerrit Dashboard: QTCREATORBUG-19266
          # Subject Branch Project Status CR V

          Activity

            People

              yvvan Ivan Donchevskii
              andysh Andy Shaw
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes