https://bugs.winehq.org/show_bug.cgi?id=41492
Bug ID: 41492 Summary: Failure to compile: redefinition of typedef ‘EVENT_FILTER_DESCRIPTOR’ Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: advapi32 Assignee: wine-bugs@winehq.org Reporter: b7.10110111@gmail.com Distribution: ---
After this commit:
bacc68822aec1a025bc0e8c7aab7b75061e1c8e6 is the first bad commit commit bacc68822aec1a025bc0e8c7aab7b75061e1c8e6 Author: Hans Leidekker hans@codeweavers.com Date: Tue Oct 4 13:28:32 2016 +0200
advapi32: Add a stub implementation of EnableTraceEx2.
Signed-off-by: Hans Leidekker hans@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
:040000 040000 7be41c4ce51a93c12620a211e90ff5bf47bf1a4a 6aaa457abe3c4620e3bd42f9b12d9f8ddf3bf2f0 M dlls :040000 040000 45433006cb8e07d5b2cdb6a0580e4be5eb2e57ce cb7fcf39a66e6e059da998bda873b1afb852233e M include
I get the following compilation error:
/usr/lib/ccache/gcc-4.5 -c -o eventlog.o eventlog.c -I. -I../../include -D__WINESRC__ -D_ADVAPI32_ -D_REENTRANT -fPIC -Wall \ -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \ -Wstrict-prototypes -Wtype-limits -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 \ -gstrict-dwarf -fno-omit-frame-pointer -g -I/opt/Xorg-7.7/include In file included from eventlog.c:31:0: ../../include/evntprov.h:58:3: error: redefinition of typedef ‘EVENT_FILTER_DESCRIPTOR’ ../../include/evntrace.h:251:41: note: previous declaration of ‘EVENT_FILTER_DESCRIPTOR’ was here ../../include/evntprov.h:58:29: error: redefinition of typedef ‘PEVENT_FILTER_DESCRIPTOR’ ../../include/evntrace.h:251:67: note: previous declaration of ‘PEVENT_FILTER_DESCRIPTOR’ was here make[1]: *** [eventlog.o] Error 1