Re: [Libphidget-devel] At loss with C... - fixed
Status: Alpha
Brought to you by:
jstrohm
|
From: Jack S. <js...@ja...> - 2002-09-07 21:48:58
|
On Sat, 2002-09-07 at 16:45, Vadim Tkachenko wrote: > 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... What do you mean? |