[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] Adobe's CFF engine and 64bit issues
From: |
James Cloos |
Subject: |
Re: [ft-devel] Adobe's CFF engine and 64bit issues |
Date: |
Sun, 05 May 2013 03:51:38 -0400 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) |
As of e6e8362728e2 the build fails when compiling FT_DivFix() due to
lack of declaration of FT_UInt64, followed by re-declaration thereof. :^/
libtool: compile: x86_64-pc-linux-gnu-gcc -pedantic -ansi \
-I.../freetype2/objs -I./builds/unix -I.../freetype2/include \
-c -Wall -O3 -g3 -march=native -ffast-math -floop-interchange \
-floop-strip-mine -floop-block -fno-strict-aliasing \
-DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_OPTION_USE_BZIP2 \
"-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY \
"-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I.../freetype2/src/base \
.../freetype2/src/base/ftbase.c -fPIC -DPIC \
-o .../freetype2/objs/.libs/ftbase.o
In file included from .../freetype2/src/base/ftbase.c:26:0:
.../freetype2/src/base/ftcalc.c: In function 'FT_DivFix':
.../freetype2/src/base/ftcalc.c:291:29: error: 'FT_UInt64' undeclared (first
use in this function)
q = (FT_UInt32)( ( ( (FT_UInt64)a << 16 ) + ( b >> 1 ) ) / b );
^
.../freetype2/src/base/ftcalc.c:291:29: note: each undeclared identifier is
reported only once for each function it appears in
.../freetype2/src/base/ftcalc.c:291:39: error: expected ')' before 'a'
q = (FT_UInt32)( ( ( (FT_UInt64)a << 16 ) + ( b >> 1 ) ) / b );
^
In file included from .../freetype2/src/base/ftbase.c:34:0:
.../freetype2/src/base/fttrigon.c: At top level:
.../freetype2/src/base/fttrigon.c:39:21: warning: redefinition of typedef
'FT_Int64' [-Wpedantic]
typedef FT_INT64 FT_Int64;
^
In file included from .../freetype2/src/base/ftbase.c:26:0:
.../freetype2/src/base/ftcalc.c:50:21: note: previous declaration of 'FT_Int64'
was here
typedef FT_INT64 FT_Int64;
^
make: *** [.../freetype2/objs/ftbase.lo] Error 1
-JimC
--
James Cloos <address@hidden> OpenPGP: 1024D/ED7DAEA6