Displaying 5 results from an estimated 5 matches for "ft_ushort".
2004 Dec 20
0
[LLVMdev] Re: Compiling FreeType 2.1.9 with LLVM 1.4
...only about 260KB. The initialization that
causes the errors is below. I'm sure I can prune it down significantly.
static const FT_Frame_Field header_fields[] =
{
{ ft_frame_start, 0, 54 },
{ ft_frame_ulong_be, (FT_Byte)sizeof (
((TT_Header*)0)->Table_Version ), (FT_UShort)( ((size_t) &((TT_Header
*)0)->Table_Version) ) },
{ ft_frame_ulong_be, (FT_Byte)sizeof (
((TT_Header*)0)->Font_Revision ), (FT_UShort)( ((size_t) &((TT_Header
*)0)->Font_Revision) ) },
{ ft_frame_long_be, (FT_Byte)sizeof (
((TT_Header*)0)->CheckSum_Adjust ),...
2004 Dec 20
2
[LLVMdev] Re: Compiling FreeType 2.1.9 with LLVM 1.4
On Sun, 2004-12-19 at 22:52, Adam Warner wrote:
> Hi Reid Spencer,
>
> > CC=/path/to/llvmgcc CXX=/path/to/llvmg++ configure
> > make
> >
> > and was able to reproduce the problem. Not sure what's up with that but
> > as Misha pointed out, llvmgcc isn't any "particular" version of 3.4, its
> > just 3.4ish. I also concur with him that you
2001 Jul 01
1
[Wine-20010629] compilation problems with freetype
...e argument of `->'
truetype.c:131: invalid type argument of `->'
truetype.c: At top level:
truetype.c:151: warning: type defaults to `int' in declaration of `FT_SfntName'
truetype.c:151: parse error before `*'
truetype.c: In function `NameTableString':
truetype.c:153: `FT_UShort' undeclared (first use in this function)
truetype.c:153: parse error before `i'
truetype.c:156: `name' undeclared (first use in this function)
truetype.c:162: `len' undeclared (first use in this function)
truetype.c:163: `sz' undeclared (first use in this function)
truetype.c:16...
2004 Dec 20
0
[LLVMdev] Compiling FreeType 2.1.9 with LLVM 1.4
...y what the compiler is seeing.
Could you capture the output of the C preprocessor?
It looks like the front end is having a problem with the expansion of
these macros:
#define FT_FIELD_SIZE( f ) \
(FT_Byte)sizeof ( ((FT_STRUCTURE*)0)->f )
#define FT_FIELD_OFFSET( f ) \
(FT_UShort)( offsetof( FT_STRUCTURE, f ) )
where "f" is an array element like "xyz[0]". Problem is, LLVM's front
end *is* gcc and it works for you when using gcc. But then, you're
using gcc 3.3.5 and LLVM uses 3.4. But then (again), I just built
Freetype 2.1.7 on FreeBSD us...
2004 Dec 20
4
[LLVMdev] Compiling FreeType 2.1.9 with LLVM 1.4
Hi all,
I learned of LLVM a couple of days ago:
<http://groups.google.co.nz/groups?selm=pan.2004.12.18.11.29.33.33249%40consulting.net.nz>
<http://groups.google.co.nz/groups?th=608e6e38e496f09d>
(I posted a tail call followup which is missing from the archive)
Jestingly, LLVM developers appear intent upon nothing short of world
domination. Not only have you done an end run around