bugCharmap - a GNUstep character map - Bugs: bug #42476, Fix for some gcc warnings

 
 

bug #42476: Fix for some gcc warnings

Submitter:  Yavor Doganov <yavor>
Submitted:  Sat 31 May 2014 09:46:14 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Sat 31 May 2014 09:46:14 PM UTC, original submission:  

There are a few warnings when compiling Charmap:


CharInspector.m: In function ‘-[CharInspector init]’:
CharInspector.m:47:13: warning: initialization from distinct Objective-C type [enabled by default]
CharInspector.m: In function ‘-[CharInspector updateWithPosition:Dictionary:]’:
CharInspector.m:224:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
CharInspector.m:230:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
 Compiling file CJKInspector.m ...
CJKInspector.m: In function ‘-[CJKInspector init]’:
CJKInspector.m:43:13: warning: initialization from distinct Objective-C type [enabled by default]
 Compiling file Controller.m ...
Controller.m: In function ‘-[Controller awakeFromNib]’:
Controller.m:67:13: warning: initialization from distinct Objective-C type [enabled by default]
Controller.m: In function ‘-[Controller putSelected:]’:
Controller.m:233:7: warning: variable ‘charTag’ set but not used [-Wunused-but-set-variable]


The attached patch fixes them.

Yavor Doganov <yavor>

 

Attached Files

Attached Files
file #31477:  gcc-warnings.patch added by yavor (2.1KiB - text/x-patch)

(Note: upload size limit is set to 16MiB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by yavor (Submitted the item)
  •  

    Votes

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    History

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-05-31 yavor Attached File- Added gcc-warnings.patch, #31477

    Back to the top

    Powered by Savane 3.16.
    Corresponding source code