Patches 103117 - 103120

Hugh McMaster hugh.mcmaster at masterindexing.com
Wed Mar 12 07:02:11 CDT 2014


On Wednesday, 12 March 2014 10:14 PM, Akihiro Sagawa wrote:

>Just after applying patch [1/4], gcc (4.8.1-10ubuntu9) complains about your code:
>gcc -c -o regsvr32.o regsvr32.c -I. -I../../include -D__WINESRC__ -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 -Wpointer-arith \
>  -Wlogical-op -gdwarf-2 -gstrict-dwarf -fno-omit-frame-pointer -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -Werror
>regsvr32.c:80:85: error: 'output_write' defined but not used [-Werror=unused-function]  static void __cdecl output_write(UINT id, ...)
>
>cc1: all warnings being treated as errors
>make: *** [regsvr32.o] Error 1

Hi Akihiro,

Many thanks for spotting this.  This is what happens when I don't compile with the -Werror flag.  I'll prepare a new patch sequence.

Hugh



More information about the wine-devel mailing list