http://bugs.winehq.org/show_bug.cgi?id=13858
Summary: Compile error in dlls/setupapi/devinst.c Product: Wine Version: CVS/GIT Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: blocker Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: david.ronis@mcgill.ca
I'm building today's cvs head. I get the following error (using gcc-4.2.4):
/usr/bin/gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_SETUPAPI_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -O3 -march=pentium4 -ffast-math -funroll-loops -fomit-frame-pointer -o devinst.o devinst.c devinst.c:3919: error: expected ')' before 'dnDevInst' devinst.c:3937: error: expected ')' before 'dnDevInst' devinst.c:3961: error: expected declaration specifiers or '...' before 'DEVINST' devinst.c: In function 'CM_Get_Device_ID_Size': devinst.c:3964: error: 'dnDevInst' undeclared (first use in this function) devinst.c:3964: error: (Each undeclared identifier is reported only once devinst.c:3964: error: for each function it appears in.) devinst.c:3971: error: 'CR_NO_SUCH_DEVINST' undeclared (first use in this function)