bugGNU Robots - Bugs: bug #31918, Cannot compile last revision.

 
 

bug #31918: Cannot compile last revision.

Submitter:  Oleg <o01eg>
Submitted:  Sat 18 Dec 2010 02:38:58 PM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Privacy:  Public Assigned to:  rozzin
Open/Closed:  Closed Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 12 Apr 2018 06:45:50 AM UTC, comment #3: 

The changes I made have been pushed up into master branch in the main git repository here on savannah, at this point.

Joshua Judson Rosen <rozzin>
Group administrator
Wed 05 Apr 2017 06:36:11 PM UTC, comment #2: 

I think there are fixes for these in the set of changes I've been working on:


... except possibly whatever produced the "implicit declaration of function ‘SCM_BOOL’" warning, because I'm not seeing that here.

I fixed all of the warnings that I encountered in this specific sub-series of changes:


Though one of the changes I'm using is to forward-port GNU Robots to Guile 2.0; there may have been an issue in Guile 1.8 for all I know, but that was many years ago at this point.

Joshua Judson Rosen <rozzin>
Group administrator
Sun 19 Dec 2010 06:18:39 AM UTC, comment #1: 

Guile 1.8.5

Oleg <o01eg>
Sat 18 Dec 2010 02:38:58 PM UTC, original submission:  

gcc version 4.4.4 (Gentoo 4.4.4-r2 p1.2, pie-0.4.5)

gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/readline/ -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14   -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gtk-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14   -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -I../include -DPKGLIBDIR=\"/mnt/other/games/gnurobots/lib/gnurobots\" -DABS_TOP_BUILDDIR=\"/tmp/gnurobots\" -DPKGDATADIR=\"/mnt/other/games/gnurobots/share/gnurobots\" -DMAPS_PATH=\"/mnt/other/games/gnurobots/share/gnurobots/maps\" -DSCRIPTS_PATH=\"/mnt/other/games/gnurobots/share/gnurobots/scheme\"   -pedantic-errors -Werror -Wall -O2 -march=core2 -mtune=core2 -pipe -msse -msse2 -msse3 -mssse3 -mmmx -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4096 -MT api.o -MD -MP -MF .deps/api.Tpo -c -o api.o api.c
cc1: warnings being treated as errors
api.c: In function ‘api_robot_turn’:
api.c:37: error: implicit declaration of function ‘scm_num2int’
api.c:39: error: implicit declaration of function ‘SCM_BOOL’
api.c:39: error: return makes pointer from integer without a cast
api.c: In function ‘api_robot_move’:
api.c:45: error: return makes pointer from integer without a cast
api.c: In function ‘api_robot_smell’:
api.c:57: error: return makes pointer from integer without a cast
api.c: In function ‘api_robot_feel’:
api.c:69: error: return makes pointer from integer without a cast
api.c: In function ‘api_robot_look’:
api.c:81: error: return makes pointer from integer without a cast
api.c: In function ‘api_robot_grab’:
api.c:87: error: return makes pointer from integer without a cast
api.c: In function ‘api_robot_zap’:
api.c:93: error: return makes pointer from integer without a cast
api.c: In function ‘api_robot_stop’:
api.c:99: error: return makes pointer from integer without a cast
api.c: In function ‘api_robot_get_shields’:
api.c:110: error: implicit declaration of function ‘scm_long2num’
api.c:110: error: return makes pointer from integer without a cast
api.c: In function ‘api_robot_get_energy’:
api.c:121: error: return makes pointer from integer without a cast
api.c: In function ‘api_robot_get_score’:
api.c:132: error: return makes pointer from integer without a cast

Oleg <o01eg>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rozzin (Posted a comment)
  • -email is unavailable- added by o01eg (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-04-12 rozzin StatusNone Fixed
        Assigned toNone rozzin
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code