search for: ft_byte

Displaying 4 results from an estimated 4 matches for "ft_byte".

2004 Dec 20
0
[LLVMdev] Re: Compiling FreeType 2.1.9 with LLVM 1.4
...it needs to be attached to a bug report, and it's 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,...
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
2004 Dec 20
0
[LLVMdev] Compiling FreeType 2.1.9 with LLVM 1.4
...t I did take a look at the code. The heavy use of macros makes it hard to tell exactly 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 g...
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