search for: header_field

Displaying 7 results from an estimated 7 matches for "header_field".

Did you mean: header_fields
2004 Dec 20
0
[LLVMdev] Compiling FreeType 2.1.9 with LLVM 1.4
...sfnt.c:22: >/home/adam/t/freetype-2.1.9/src/sfnt/ttload.c: In function `tt_face_load_generic_header': > >/home/adam/t/freetype-2.1.9/src/sfnt/ttload.c:597: error: initializer element is not constant >/home/adam/t/freetype-2.1.9/src/sfnt/ttload.c:597: error: (near initialization for `header_fields[7].offset') >/home/adam/t/freetype-2.1.9/src/sfnt/ttload.c:597: error: initializer element is not constant >/home/adam/t/freetype-2.1.9/src/sfnt/ttload.c:597: error: (near initialization for `header_fields[7]') >/home/adam/t/freetype-2.1.9/src/sfnt/ttload.c:598: error: initializer...
2004 Dec 20
4
[LLVMdev] Compiling FreeType 2.1.9 with LLVM 1.4
...-2.1.9/src/sfnt/sfnt.c:22: /home/adam/t/freetype-2.1.9/src/sfnt/ttload.c: In function `tt_face_load_generic_header': /home/adam/t/freetype-2.1.9/src/sfnt/ttload.c:597: error: initializer element is not constant /home/adam/t/freetype-2.1.9/src/sfnt/ttload.c:597: error: (near initialization for `header_fields[7].offset') /home/adam/t/freetype-2.1.9/src/sfnt/ttload.c:597: error: initializer element is not constant /home/adam/t/freetype-2.1.9/src/sfnt/ttload.c:597: error: (near initialization for `header_fields[7]') /home/adam/t/freetype-2.1.9/src/sfnt/ttload.c:598: error: initializer element is...
2004 Dec 20
0
[LLVMdev] Re: Compiling FreeType 2.1.9 with LLVM 1.4
Adam sent me his tar file and only one file in 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)(...
2004 Dec 20
0
[LLVMdev] Compiling FreeType 2.1.9 with LLVM 1.4
....c:22: > /home/adam/t/freetype-2.1.9/src/sfnt/ttload.c: In function `tt_face_load_generic_header': > > /home/adam/t/freetype-2.1.9/src/sfnt/ttload.c:597: error: initializer element is not constant > /home/adam/t/freetype-2.1.9/src/sfnt/ttload.c:597: error: (near initialization for `header_fields[7].offset') .. snip .. > > Note that when using standard GCC FreeType builds fine: > > Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs Yes, but LLVM is based on 3.4 not 3.3. GCC 3.4 has *many* improvements and is much stricter than it used to be. > Configured wi...
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
3
[LLVMdev] Compiling FreeType 2.1.9 with LLVM 1.4
...me/adam/t/freetype-2.1.9/src/sfnt/ttload.c: In function `tt_face_load_generic_header': > > > > /home/adam/t/freetype-2.1.9/src/sfnt/ttload.c:597: error: initializer element is not constant > > /home/adam/t/freetype-2.1.9/src/sfnt/ttload.c:597: error: (near initialization for `header_fields[7].offset') > > .. snip .. > > > > > Note that when using standard GCC FreeType builds fine: > > > > Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs > > Yes, but LLVM is based on 3.4 not 3.3. GCC 3.4 has *many* improvements > and is muc...
2011 Jun 28
13
[PATCH hivex 02/14] maint: remove unnecessary test-before-free
From: Jim Meyering <meyering at redhat.com> * lib/hivex.c (hivex_node_set_value): Remove unnecessary test-before-free. --- lib/hivex.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/lib/hivex.c b/lib/hivex.c index d042f4f..a72fa77 100644 --- a/lib/hivex.c +++ b/lib/hivex.c @@ -2748,8 +2748,7 @@ hivex_node_set_value (hive_h *h, hive_node_h node, leave_partial: