Details

    Description

      Hello,
      I encountered some compile time errors while compiling with GCC7, because (most probabbly) come standards doesn't allow ceratin operation anymore.

      /builddir/build/BUILD/mariadb-10.2.5/storage/innobase/fil/fil0crypt.cc: In function 'void fil_crypt_rotate_page(const key_state_t*, rotate_thread_t*)':
      /builddir/build/BUILD/mariadb-10.2.5/storage/innobase/fil/fil0crypt.cc:1770:15: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
        if (space == TRX_SYS_SPACE && offset == TRX_SYS_PAGE_NO) {
                     ^~~~~~~~~~~~~
      

      /builddir/build/BUILD/mariadb-10.2.5/sql/sql_get_diagnostics.cc
      /builddir/build/BUILD/mariadb-10.2.5/storage/innobase/fil/fil0crypt.cc: In function 'void fil_crypt_rotate_page(const key_state_t*, rotate_thread_t*)':
      /builddir/build/BUILD/mariadb-10.2.5/storage/innobase/fil/fil0crypt.cc:1770:15: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
        if (space == TRX_SYS_SPACE && offset == TRX_SYS_PAGE_NO) {
                     ^~~~~~~~~~~~~
      

      Here's the full build log.

      Attachments

        Issue Links

          Activity

            Transition Time In Source Status Execution Times
            Daniel Black made transition -
            Open Closed
            1h 40m 1
            Sergei Golubchik made transition -
            Closed Stalled
            4h 53m 2
            Vladislav Vaintroub made transition -
            Stalled Closed
            126d 37m 2

            People

              wlad Vladislav Vaintroub
              mschorm Michal Schorm
              Votes:
              0 Vote for this issue
              Watchers:
              5 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.