freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Devel] 2.1.3 Build problems on Windows


From: Karl Schultz
Subject: [Devel] 2.1.3 Build problems on Windows
Date: Tue, 19 Nov 2002 14:00:38 -0700

I'm trying to build FreeType on Win32 with gmake. I'm using the CVS 2.1.3
branch and the VISUALC environment.

The build stops on compiler warnings due to the compiler flags used with the
MSVC compiler.  I've included a suggested patch below to fix the warnings.

Karl

diff -c -r1.2 pfrsbit.c
*** pfrsbit.c   2002/10/07 10:12:43     1.2
--- pfrsbit.c   2002/11/19 20:43:35
***************
*** 274,281 ****
    static void
    pfr_lookup_bitmap_data( FT_Byte*   base,
                            FT_Byte*   limit,
!                           FT_Int     count,
!                           FT_Byte    flags,
                            FT_UInt    char_code,
                            FT_ULong*  found_offset,
                            FT_ULong*  found_size )
--- 274,281 ----
    static void
    pfr_lookup_bitmap_data( FT_Byte*   base,
                            FT_Byte*   limit,
!                           FT_UInt    count,
!                           FT_UInt    flags,
                            FT_UInt    char_code,
                            FT_ULong*  found_offset,
                            FT_ULong*  found_size )
***************
*** 481,487 ****
    pfr_load_bitmap_bits( FT_Byte*    p,
                          FT_Byte*    limit,
                          FT_UInt     format,
!                         FT_UInt     decreasing,
                          FT_Bitmap*  target )
    {
      FT_Error          error = 0;
--- 481,487 ----
    pfr_load_bitmap_bits( FT_Byte*    p,
                          FT_Byte*    limit,
                          FT_UInt     format,
!                         FT_Bool     decreasing,
                          FT_Bitmap*  target )
    {
      FT_Error          error = 0;
***************
*** 654,660 ****
              error = pfr_load_bitmap_bits( p,
                                            stream->limit,
                                            format,
!                                           face->header.color_flags & 2,
                                            &glyph->root.bitmap );
            }
          }
--- 654,660 ----
              error = pfr_load_bitmap_bits( p,
                                            stream->limit,
                                            format,
!
(FT_Bool)(face->header.color_flags &
 2 ? 1 : 0),
                                            &glyph->root.bitmap );
            }
          }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]