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

LP:457923 - types conversion problem during compilation under windows x64

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      there is number of errors like this during attempt to compile under windows x64 (vista):
      ..\storage\xtradb\handler\ha_innodb.cc(9947) : error C2440: 'initializing' : cannot convert from 'ulint *' to 'unsigned long *'
      Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
      ..\storage\xtradb\handler\ha_innodb.cc(9952) : error C2440: 'initializing' : cannot convert from 'ulint *' to 'unsigned long *'
      Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
      ..\storage\xtradb\handler\ha_innodb.cc(10015) : error C2440: 'initializing' : cannot convert from 'ulint *' to 'unsigned long *'
      Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            sanja Oleksandr Byelkin added a comment -

            Re: types conversion problem during compilation under windows x64
            I found the problem (fixed in innodb but not in additional xtradb options): options should be declared as ulong instead of ulint.

            Show
            sanja Oleksandr Byelkin added a comment - Re: types conversion problem during compilation under windows x64 I found the problem (fixed in innodb but not in additional xtradb options): options should be declared as ulong instead of ulint.
            Hide
            sanja Oleksandr Byelkin added a comment -

            Proposed patch for this bug
            LPexportBug457923_ulint_patch.diff

            Show
            sanja Oleksandr Byelkin added a comment - Proposed patch for this bug LPexportBug457923_ulint_patch.diff
            Hide
            sanja Oleksandr Byelkin added a comment -

            Re: types conversion problem during compilation under windows x64

            Show
            sanja Oleksandr Byelkin added a comment - Re: types conversion problem during compilation under windows x64
            Hide
            monty Michael Widenius added a comment -

            re: [Bug 457923] Re: types conversion problem during compilation under windows x64

            Hi!

            >>>>> "Oleksandr" == Oleksandr Byelkin <Oleksandr> writes:

            Oleksandr> ** Attachment added: "Proposed patch for this bug"
            Oleksandr> http://launchpadlibrarian.net/34701960/ulint_patch.diff

            ok to push.

            Regards,
            Monty

            Show
            monty Michael Widenius added a comment - re: [Bug 457923] Re: types conversion problem during compilation under windows x64 Hi! >>>>> "Oleksandr" == Oleksandr Byelkin <Oleksandr> writes: Oleksandr> ** Attachment added: "Proposed patch for this bug" Oleksandr> http://launchpadlibrarian.net/34701960/ulint_patch.diff ok to push. Regards, Monty
            Hide
            stewart Stewart Smith added a comment -

            Re: types conversion problem during compilation under windows x64
            All development of XtraDB has moved under the Percona Server project - https://launchpad.net/percona-server - If this bug can be reproduced against current Percona Server, please file this bug against percona-server (you can simply do so by using the "Also affects project" link above).

            Thanks,
            Stewart Smith
            Director of Server Development
            Percona.

            Show
            stewart Stewart Smith added a comment - Re: types conversion problem during compilation under windows x64 All development of XtraDB has moved under the Percona Server project - https://launchpad.net/percona-server - If this bug can be reproduced against current Percona Server, please file this bug against percona-server (you can simply do so by using the "Also affects project" link above). Thanks, Stewart Smith Director of Server Development Percona.
            Hide
            ratzpo Rasmus Johansson added a comment -

            Launchpad bug id: 457923

            Show
            ratzpo Rasmus Johansson added a comment - Launchpad bug id: 457923

              People

              • Assignee:
                sanja Oleksandr Byelkin
                Reporter:
                sanja Oleksandr Byelkin
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: