bugThe FreeType Project - Bugs: bug #52465, Unused function warnings when...

 
 

bug #52465: Unused function warnings when using TT_CONFIG_OPTIONs

Submitted by:  Tor Andersson <ccxvii>
Submitted on:  Mon 20 Nov 2017 11:49:36 AM UTC  
 
Severity: 3 - NormalItem Group: Wishlist
Status: FixedPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Closed
Planned Release: 2.8.2

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 23 Nov 2017 07:43:21 PM UTC, comment #1:

Patch applied to git, thanks!

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Mon 20 Nov 2017 11:49:36 AM UTC, original submission:

Some static function declarations in headers cause unused function warnings if FT_OPTION_MAC_FONTS, TT_CONFIG_OPTION_GX_VAR_SUPPORT, or TT_CONFIG_OPTION_BDF are turned off via ftoption.h.

With FT_OPTION_MAC_FONT, two static functions in ftrfork.c are also unused.

I've attached a patch to silence these warnings by guarding the sections with appropriate #ifdefs.

Tor Andersson <ccxvii>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by wl (Posted a comment)
  • -unavailable- added by ccxvii (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 23 Nov 2017 07:43:21 PM UTCwlStatusNone=>Fixed
      Assigned toNone=>wl
      Open/ClosedOpen=>Closed
      Planned ReleaseNone=>2.8.2
    Mon 20 Nov 2017 11:49:36 AM UTCccxviiAttached File-=>Added 0001-Silence-unused-function-warnings.patch, #42444

    Back to the top


    Powered by Savane 3.1-cleanup1