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

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

            Activity

              People

              Assignee:
              yvvan Ivan Donchevskii
              Reporter:
              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