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

LP:802392 - Maria 5.3 bzr compile warnings in GCC 4.6

    Details

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

      Description

      GCC 4.6 (Fedora 15) triggers a warning on variables that are written to and not read (it previously triggered in Drizzle for error variables that were set and not used). Currently failing with compile-pentium64-debug-max:

      ma_dyncol.c: In function 'dynamic_column_update_many':
      ma_dyncol.c:1750:11: error: variable 'copy' set but not used [-Werror=unused-but-set-variable]

      Workaround of course is not to build in maintainer mode.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            ratzpo Rasmus Johansson added a comment -

            Launchpad bug id: 802392

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

              People

              • Assignee:
                Unassigned
                Reporter:
                andrewhutchings Andrew Hutchings
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: