Skip Menu |

This queue is for tickets about the Font-FreeType CPAN distribution.

Report information
The Basics
Id: 101653
Status: resolved
Priority: 0/
Queue: Font-FreeType

People
Owner: DMOL [...] cpan.org
Requestors: dmacks [...] netspace.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.05_01



Subject: Missing #include
Date: Wed, 21 Jan 2015 03:45:29 -0500
To: bug-Font-FreeType [...] rt.cpan.org
From: "Daniel Macks" <dmacks [...] netspace.org>
Building 0.04 on OS X 10.8 (vendor-supplied perl-5.12.4), using some pathname hacks to find the freetype headers, I get a compiler warning:   clang -c  -I/sw/include/freetype2 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -I/usr/local/include -Os   -DVERSION=\"0.04\" -DXS_VERSION=\"0.04\"  "-I/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE"  -MD FreeType.c FreeType.xs:542:46: warning: implicit declaration of function 'FT_Has_PS_Glyph_Names' is invalid in C99 [-Wimplicit-function-declaration]         RETVAL = FT_HAS_GLYPH_NAMES(face) && FT_Has_PS_Glyph_Names(face);                                              ^ That function is prototyped in freetype's t1tables.h, so FreeType.xs needs to: #include FT_TYPE1_TABLES_H  dan -- Daniel Macks dmacks@netspace.org
Thanks for reporting the bug!