http://bugs.winehq.org/show_bug.cgi?id=13858
--- Comment #2 from David Ronis david.ronis@mcgill.ca 2008-06-12 10:25:58 --- Thanks for the reply:
1. I've removed -ffomit-frame-pointer (actually, I'm running with the default CFLAGS/CXXFLAGS). 2. I did make distclean before configure, followed by make depend && make. 3. I'm running a fairly modified slackware-12.0.
As expected, I get the identical error:
/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 -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)