Build error introduced by f1ea06375d76c9f8e181e3ee4874ddef661e80c2
Octavian Voicu
octavian.voicu at gmail.com
Fri Jul 23 11:26:25 CDT 2010
Seems that f1ea06375d76c9f8e181e3ee4874ddef661e80c2 introduces a build
error on Ubuntu with gcc 4.4.3.
[...]
ccache gcc -m32 -c -I../../../wine-git/dlls/user32 -I.
-I../../../wine-git/include -I../../include -D__WINESRC__ -D_USER32_
-D_WINABLE_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing
-Wdeclaration-after-statement -Wstrict-prototypes -Wtype-limits
-Wwrite-strings -Wpointer-arith -D_FORTIFY_SOURCE=0 -o painting.o
../../../wine-git/dlls/user32/painting.c
../../../wine-git/dlls/user32/painting.c: In function ‘GetDCEx’:
../../../wine-git/dlls/user32/painting.c:913: error: initializer
element is not constant
$ gcc --version
gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
According to [1] this is not a compiler bug: the C standard says the
expression is not constant.
I wonder why I'm the only one who gets this error.
Octavian
[1] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20426
More information about the wine-devel
mailing list