[SERVER-2927] Fix Header and Source Files to compile with -Wall and -Werror Created: 08/Apr/11  Updated: 23/Feb/17  Resolved: 23/Feb/17

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: 1.8.1
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Jacques Germishuys Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Intel Linux (Gentoo/Ubuntu) and Intel Solaris 10


Attachments: File warning-as-errors-patch.patch    
Participants:

 Description   

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)


Generated at Thu Feb 08 03:01:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.