Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-14512

Build failure on OSX

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.3
    • 10.3.6
    • Compiling
    • None
    • 10.3.6-1

    Description

      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/map:820:5: error: static_assert failed
            "Allocator::value_type must be same type as value_type"
          static_assert((is_same<typename allocator_type::value_type, value_type>::value),
          ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__config:729:36: note: expanded from macro
            'static_assert'
      #   define static_assert(__b, __m) _Static_assert(__b, __m)
                                         ^              ~~~
      /Users/varun/MariaDB/10.3/storage/innobase/include/trx0trx.h:1248:19: note: in instantiation of template class 'std::__1::map<dict_table_t *,
            unsigned long long, std::__1::less<dict_table_t *>, ut_allocator<dict_table_t *, true> >' requested here
              trx_mod_tables_t mod_tables;    /*!< List of tables that were modified
      

      /Users/varun/MariaDB/10.3/storage/innobase/include/sync0policy.h:53:4: error: cannot initialize a member subobject of type 'ulint'
            (aka 'unsigned long') with an rvalue of type 'os_thread_id_t' (aka '_opaque_pthread_t *')
                              m_thread_id(os_thread_id_t(ULINT_UNDEFINED))
                              ^           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /Users/varun/MariaDB/10.3/storage/innobase/include/sync0policy.h:79:4: error: cannot initialize a parameter of type 'int64' (aka 'long long')
            with an rvalue of type 'os_thread_id_t' (aka '_opaque_pthread_t *')
                              my_atomic_storelint(&m_thread_id, os_thread_get_curr_id());
      

      Attachments

        Activity

          People

            varun Varun Gupta (Inactive)
            varun Varun Gupta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.