Re: [Tuxpaint-devel] Rails plugin release
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
|
From: foo-script <foo...@o2...> - 2008-07-14 12:43:04
|
Luc, what version of Rails are you using? Primary (from szn.republika.pl), or CVS? _Bool is a cstdlib data type, it came with C99, so your compiler should recognize this type. For sure, I will change it to Uint8. Newest version at: http://szn.republika.pl/tuxpaint-magic-rails.tar.gz This release throws no warnings about comparison between signed and unsigned types. I've also written about idea's author. Best, Adam Dnia 14 lipca 2008 13:07 Begasus <Be...@sk...> napisał(a): > Trying to compile the rail tool on gcc 2.95 (BeOS) fails on line 162 and > line 260 (probly due to the use of the _Bool function). > The other warnings are something shown in the BlackAndWhite tool also. > > Greetings, > > 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 > > ------------------------------------------------------------------------- > 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 > |