Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-2927

Fix Header and Source Files to compile with -Wall and -Werror

    • Type: Icon: Task Task
    • Resolution: Incomplete
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.8.1
    • Component/s: Internal Code
    • None
    • Environment:
      Intel Linux (Gentoo/Ubuntu) and Intel Solaris 10
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      A number of header and source files have unused name variables as member arguments which cause compile problems when including these in your application, and making use of -Wall and -Werror.

      Strict-aliasing rules are also broken unnecessarily.

      Attached is a patch file which fixes the unused name member variables, as well as a fix to use a union to convert between a char array and int (NOT TESTED)

            Assignee:
            Unassigned Unassigned
            Reporter:
            jacquesg Jacques Germishuys
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: