Re: [Tuxpaint-devel] Rails plugin release
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
|
From: Begasus <Be...@sk...> - 2008-07-15 05:29:54
|
Hi Adam, the error that I was talking about was not in the list of parameters etc that where undeclared. Giving you the outcom of the list of rails.c (ignore the warnings) still 2 errors that jump up. 1. /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:162: parse error before `_Bool' 2. /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:260: parse error before `use_temp' Luc /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:22: warning: no previous prototype for `rails_api_version' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:27: warning: no previous prototype for `rails_modes' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c: In function `rails_modes': /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:26: warning: unused parameter `api' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:26: warning: unused parameter `which' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c: At top level: /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:32: warning: no previous prototype for `rails_set_color' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c: In function `rails_set_color': /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:31: warning: unused parameter `api' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:31: warning: unused parameter `r' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:31: warning: unused parameter `g' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:31: warning: unused parameter `b' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c: At top level: /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:36: warning: no previous prototype for `rails_init' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:60: warning: no previous prototype for `rails_get_tool_count' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c: In function `rails_get_tool_count': /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:59: warning: unused parameter `api' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c: At top level: /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:65: warning: no previous prototype for `rails_get_icon' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c: In function `rails_get_icon': /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:64: warning: unused parameter `which' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c: At top level: /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:74: warning: no previous prototype for `rails_get_name' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c: In function `rails_get_name': /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:74: warning: unused parameter `api' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:74: warning: unused parameter `which' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c: At top level: /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:76: warning: no previous prototype for `rails_get_description' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c: In function `rails_get_description': /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:76: warning: unused parameter `api' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:76: warning: unused parameter `which' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:76: warning: unused parameter `mode' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c: At top level: /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:78: warning: no previous prototype for `rails_requires_colors' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c: In function `rails_requires_colors': /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:78: warning: unused parameter `api' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:78: warning: unused parameter `which' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c: At top level: /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:83: warning: no previous prototype for `rails_release' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c: In function `rails_release': /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:80: warning: unused parameter `api' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:80: warning: unused parameter `which' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:81: warning: unused parameter `canvas' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:81: warning: unused parameter `snapshot' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:82: warning: unused parameter `x' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:82: warning: unused parameter `y' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:82: warning: unused parameter `update_rect' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c: At top level: /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:87: warning: no previous prototype for `rails_shutdown' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c: In function `rails_shutdown': /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:86: warning: unused parameter `api' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c: At top level: /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:104: warning: no previous prototype for `rails_switchin' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c: In function `rails_switchin': /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:103: warning: unused parameter `api' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:103: warning: unused parameter `which' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:103: warning: unused parameter `mode' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c: At top level: /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:117: warning: no previous prototype for `rails_switchout' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c: In function `rails_switchout': /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:116: warning: unused parameter `api' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:116: warning: unused parameter `which' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:116: warning: unused parameter `mode' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:116: warning: unused parameter `canvas' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c: At top level: /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:134: warning: no previous prototype for `rails_get_segment' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:146: warning: no previous prototype for `rails_extract_coords_from_segment' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:162: parse error before `_Bool' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:164: warning: function declaration isn't a prototype /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c: In function `rails_rotate': /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:165: `ptr' undeclared (first use in this function) /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:165: (Each undeclared identifier is reported only once /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:165: for each function it appears in.) /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:168: `direction' undeclared (first use in this function) /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:170: `dest' undeclared (first use in this function) /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:172: `src' undeclared (first use in this function) /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c: At top level: /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:186: warning: no previous prototype for `rails_click' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c: In function `rails_click': /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:183: warning: unused parameter `mode' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c: In function `rails_select_image': /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:198: warning: comparison between signed and unsigned /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c: In function `rails_draw': /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:260: `_Bool' undeclared (first use in this function) /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:260: parse error before `use_temp' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:262: `use_temp' undeclared (first use in this function) /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:254: warning: unused parameter `which' /boot/home/Desktop/develop/tuxpaint/magic/src/rails.c:254: warning: unused parameter `last' make: *** [magic/rails.so] Error 1 On 2008-07-14 at 22:46:21 [+0000], foo-script <foo...@o2...> wrote: > Dear Luc, > > I've just read your mail. First: all the warnings below comes from > BlackAndWhite.c file (author: A. Corcoran), not rails.c > > All these warning are not important, I even do not see any error there. > All the warning are about unused parameter. This is normal and should not > terminate compilation process. You can turn it off in in Makefile. In case > of any problems feel free to write to me. > On the other hand: I've checked all the possibilities they could create any > error and did not anything. > > Best, > Adam > > > Dnia 15 lipca 2008 1:03 Begasus <Be...@sk...> napisał(a): > > > On 2008-07-14 at 20:22:26 [+0000], Bill Kendrick wrote: > > > On Mon, Jul 14, 2008 at 02:43:06PM +0200, foo-script wrote: > > > > > > > > Luc, what version of Rails are you using? Primary (from > > > > szn.republika.pl), or CVS? > > > > > > > > Was running cvs version btw. > > > > > > _Bool is a cstdlib data type, it came with C99, so your compiler > > > > should > > > > recognize this type. > > > > > > Ah, but he's on BeOS, so he might not have a C99 compiler! > > > > > > > Running gcc 2.95.3 on BeOS platform (there is a gcc 3.4.3 version around > > but > > it's not a very clean one and has no real setup files for it ... > > installing > > is a hasstle to say the least). > > > > > > > > > For sure, I will change it to Uint8. > > > > > > > > Newest version at: http://szn.republika.pl/tuxpaint-magic-rails.tar.gz > > > > > > > Try'd with the above link and a new cvs checkout .. both with the same > > errors as before. > > Getting lots of unused parameters also with the magic tools, don't know if > > it is known (can't check on linux atm - laptop is in for repair). > > /boot/home/Desktop/develop/tuxpaint/magic/src/blackAndWhite.c:173: > > warning: > > no previous prototype for `blackAndWhite_drag' > > /boot/home/Desktop/develop/tuxpaint/magic/src/blackAndWhite.c:191: > > warning: > > no previous prototype for `blackAndWhite_click' > > /boot/home/Desktop/develop/tuxpaint/magic/src/blackAndWhite.c:208: > > warning: > > no previous prototype for `blackAndWhite_release' > > /boot/home/Desktop/develop/tuxpaint/magic/src/blackAndWhite.c: In function > > `blackAndWhite_release': > > /boot/home/Desktop/develop/tuxpaint/magic/src/blackAndWhite.c:205: > > warning: > > unused parameter `api' > > /boot/home/Desktop/develop/tuxpaint/magic/src/blackAndWhite.c:205: > > warning: > > unused parameter `which' > > /boot/home/Desktop/develop/tuxpaint/magic/src/blackAndWhite.c:206: > > warning: > > unused parameter `canvas' > > /boot/home/Desktop/develop/tuxpaint/magic/src/blackAndWhite.c:206: > > warning: > > unused parameter `last' > > /boot/home/Desktop/develop/tuxpaint/magic/src/blackAndWhite.c:207: > > warning: > > unused parameter `x' > > /boot/home/Desktop/develop/tuxpaint/magic/src/blackAndWhite.c:207: > > warning: > > unused parameter `y' > > /boot/home/Desktop/develop/tuxpaint/magic/src/blackAndWhite.c:207: > > warning: > > unused parameter `update_rect' > > > > Most of them are reacuring in all the magic tools I think. > > > > Greets, > > > > Luc > > > > > Please make changes in CVS from now on, thanks! > > > > > > -bill! > > > > > > ------------------------------------------------------------------------ > > > - > > > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > > > Studies have shown that voting for your favorite open source project, > > > along with a healthy diet, reduces your potential for chronic lameness > > > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > > _______________________________________________ > > > Tuxpaint-devel mailing list > > > Tux...@li... > > > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel > > > > ------------------------------------------------------------------------- > > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > > Studies have shown that voting for your favorite open source project, > > along with a healthy diet, reduces your potential for chronic lameness > > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > _______________________________________________ > > Tuxpaint-devel mailing list > > Tux...@li... > > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel > > > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Tuxpaint-devel mailing list > Tux...@li... > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel |