[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: [PATCH 3/3] (try2) gdi32: Add support for loading scalable font resources.
From:       Alexandre Julliard <julliard () winehq ! org>
Date:       2012-03-29 16:50:24
Message-ID: 87obrfqrlb.fsf () wine ! dyndns ! org
[Download RAW message or body]

Huw Davies <huw@codeweavers.com> writes:

> ---
> dlls/gdi32/font.c |   75 +++++++++++++++++++++++++++++++++++++++++++++++++++++
> 1 files changed, 75 insertions(+), 0 deletions(-)

This one doesn't build:

gcc -m32 -c -I. -I. -I../../include -I../../include -I/usr/include/freetype2  \
-D__WINESRC__ -D_GDI32_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing \
-Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers -Wstrict-prototypes \
-Wtype-limits -Wunused-but-set-parameter -Wwrite-strings -fno-omit-frame-pointer \
-Wpointer-arith -Wlogical-op -Werror -I/usr/include/freetype2  -g -O2  -o font.o \
                font.c
font.c: In function ‘AddFontResourceExW':
font.c:3498:59: error: ‘count' may be used uninitialized in this function \
[-Werror=uninitialized] font.c:3475:36: note: ‘count' was declared here
cc1: all warnings being treated as errors
make[1]: *** [font.o] Error 1

Admittedly count would always be initialized with the files we create,
but we probably shouldn't rely on that.

-- 
Alexandre Julliard
julliard@winehq.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic