Re: [Libphidget-devel] At loss with C... - fixed
Status: Alpha
Brought to you by:
jstrohm
|
From: Vadim T. <vt...@fr...> - 2002-09-07 21:45:53
|
Hello, > gcc -DPACKAGE=\"phidget\" -DVERSION=\"0.1p0\" -DHAVE_DLFCN_H=1 > -DHAVE_LIBUSB=1 -I. -I. -I../libphidget -L../libphidget -c phidget_c.c > phidget_c.c: In function > ain': > phidget_c.c:31: parse error before `struct' > phidget_c.c:39: `phidgets' undeclared (first use in this function) > phidget_c.c:39: (Each undeclared identifier is reported only once > phidget_c.c:39: for each function it appears in.) > make[2]: *** [phidget_c.o] Error 1 Yep, it was a C++ artifact - the declaration block should've been before the code... --vt |