Re: [Openpvr-devel] (no subject)
Brought to you by:
brian_j_murrell,
jfunk
From: Brian J. M. <1b3...@in...> - 2002-04-15 19:51:33
|
[ Just an item of administrivia: can you please put a subject on your mail submissions to the list. It helps the digest readers as well as those looking through the archive looking for answers. Thanx. ] On Mon, Apr 15, 2002 at 02:10:05PM -0500, Steve Headley wrote: > I was trying to compile the source and received the following errors. > what am I missing: >=20 >=20 > gcc -g -I/usr/include/glib-1.2 -I/usr/lib/glib/include > -I/usr/include/gnome-xml -Wall -g -lxml -lz -lglib -ldb-3.3 schedule.c > -o schedule > schedule.c: In function `compareEpisodes': > schedule.c:198: warning: value computed is not used > schedule.c: In function `comparePrograms': > schedule.c:247: warning: value computed is not used > schedule.c: In function `compareWanteds': > schedule.c:338: warning: value computed is not used > schedule.c: In function `compareShowings': > schedule.c:546: warning: value computed is not used These are all warnings which do not show with gcc 3.0.4. The fact that they are warning is an error IMMHO. gcc seems to have corrected that in later versions. In any case, it is a warning and can be ignored. > schedule.c: In function `main': > schedule.c:1313: parse error before `*' > schedule.c:1326: `prev_showing' undeclared (first use in this function) > schedule.c:1326: (Each undeclared identifier is reported only once > schedule.c:1326: for each function it appears in.) > schedule.c:1329: `at_command' undeclared (first use in this function) > schedule.c:1330: `seendb_command' undeclared (first use in this function) > make: *** [schedule] Error 1 Interesting. gcc 3.0.4 allows declarations in the middle of blocks like C++ allows. I made the declarations in the middle of the block in error and have moved them to the top of the block. rsync cvs and try again. b. --=20 Brian J. Murrell |