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 20:59:04 +0200 (CEST)

> There is one more location where this warning pops up:
> 
> In file included from /usr/src/contrib/freetype2/src/sfnt/sfnt.c:32:
> /usr/src/contrib/freetype2/src/sfnt/ttsbit.c:1452: warning: unused parameter 
> 'metrics_only'

I've fixed this 10 days ago.  Please test the current git version of FreeType.

> I attached a file with all the warnings. It seems that on FreeBSD
> there is an include file (/usr/include/strings.h) where a function
> with the name "index" is defined.  I'm not sure how this should be
> handled since I guess the header is only present on FreeBSD.

I've simply renamed `index' to `idx'.  Already pushed to git.


    Werner



reply via email to

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