freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] Warnings with -Wcast-qual, -Wcast-align and -Wunused-para


From: Werner LEMBERG
Subject: Re: [ft-devel] Warnings with -Wcast-qual, -Wcast-align and -Wunused-parameter enabled
Date: Mon, 27 Mar 2017 08:00:29 +0200 (CEST)

>>> Also I get a few -Wunused-parameter warnings.
>> 
>> Really?  I don't get this.  Please elaborate.
> 
> the first two I get are in pcfdrivr.c
> for both parameters `const char* property_name` clang emits: 
>
>   error: unused parameter ‘property_name’.
>
> I checked the parameters and they only seem used if
> PCF_CONFIG_OPTION_LONG_FAMILY_NAMES is defined, depending on how
> FT_TRACE0 is defined.

Fixed, thanks.

> In the mailing list there is a mail titled “Mysterious warning
> message” which seems to be referencing the same issue.

Please send a log file snippet so that I can see the exact wording.


    Werner

reply via email to

[Prev in Thread] Current Thread [Next in Thread]