MidnightBSD Magus

games/goonies

Remake of the 8 bit classic game 'The Goonies'

Flavor Version Run OSVersion Arch License Restricted Status
1.0.1_2 349 1.1 amd64 unknown 0 fail

Events

Machine Type Time Message
defiant fail 2018-11-27 16:22:59.852506 Test complete.
defiant fail 2018-11-27 16:22:59.720437 make build returned non-zero: 1
defiant info 2018-11-27 16:20:29.791793 Test Started

Log

===>  Building for goonies-1.0.1_2
gmake[1]: Entering directory '/magus/work/usr/mports/games/goonies/work/goonies_r1-0-1/src'
gcc6 -O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc6 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c debug.cpp -o debug.o
gcc6 -O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc6 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c 2DCMC.cpp -o 2DCMC.o
gcc6 -O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc6 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c ranrotb.cpp -o ranrotb.o
gcc6 -O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc6 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c geometrics.cpp -o geometrics.o
gcc6 -O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc6 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c auxiliar.cpp -o auxiliar.o
gcc6 -O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc6 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c font_extractor.cpp -o font_extractor.o
gcc6 -O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc6 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c keyboardstate.cpp -o keyboardstate.o
gcc6 -O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc6 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c sound.cpp -o sound.o
gcc6 -O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc6 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c SFXManager.cpp -o SFXManager.o
gcc6 -O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc6 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c SDL_glutaux.cpp -o SDL_glutaux.o
gcc6 -O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc6 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c Symbol.cpp -o Symbol.o
gcc6 -O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc6 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c Vector.cpp -o Vector.o
gcc6 -O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc6 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GObject.cpp -o GObject.o
gcc6 -O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc6 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GLTile.cpp -o GLTile.o
gcc6 -O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc6 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GLTManager.cpp -o GLTManager.o
gcc6 -O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc6 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c PlacedGLTile.cpp -o PlacedGLTile.o
gcc6 -O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc6 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GMap.cpp -o GMap.o
geometrics.cpp: In function 'void DistributeVector(Vector, Vector, Vector*, Vector*)':
geometrics.cpp:124:9: warning: variable 'norma' set but not used [-Wunused-but-set-variable]
  double norma;
         ^~~~~
In file included from Symbol.cpp:12:0:
List.h: In destructor 'LLink::~LLink()':
List.h:81:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  ~LLink() {if (obj!=0) delete obj;
               ^~
List.h:82:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
      if (next!=0) delete next;};
      ^~
sound.cpp: In function 'Mix_Chunk* Sound_create_sound(char*)':
sound.cpp:184:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  char *ext[6]={".WAV",".OGG",".MP3",".wav",".ogg",".mp3"};
                                                         ^
sound.cpp:184:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sound.cpp:184:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sound.cpp:184:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sound.cpp:184:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sound.cpp:184:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sound.cpp: In function 'Mix_Music* Sound_create_stream(char*)':
sound.cpp:274:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  char *ext[6]={".WAV",".OGG",".MP3",".wav",".ogg",".mp3"};
                                                         ^
sound.cpp:274:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sound.cpp:274:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sound.cpp:274:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sound.cpp:274:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sound.cpp:274:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sound.cpp: In function 'bool Sound_file_test(char*)':
sound.cpp:313:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  char *ext[6]={".WAV",".OGG",".MP3",".wav",".ogg",".mp3"};
                                                         ^
sound.cpp:313:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sound.cpp:313:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sound.cpp:313:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sound.cpp:313:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sound.cpp:313:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
In file included from SFXManager.cpp:17:0:
List.h: In destructor 'LLink::~LLink()':
List.h:81:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  ~LLink() {if (obj!=0) delete obj;
               ^~
List.h:82:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
      if (next!=0) delete next;};
      ^~
gcc6 -O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc6 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GMapLayer.cpp -o GMapLayer.o
gcc6 -O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc6 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GooniesScript.cpp -o GooniesScript.o
In file included from keyboardstate.cpp:9:0:
List.h: In destructor 'LLink::~LLink()':
List.h:81:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  ~LLink() {if (obj!=0) delete obj;
               ^~
List.h:82:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
      if (next!=0) delete next;};
      ^~
In file included from auxiliar.cpp:23:0:
List.h: In destructor 'LLink::~LLink()':
List.h:81:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  ~LLink() {if (obj!=0) delete obj;
               ^~
List.h:82:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
      if (next!=0) delete next;};
      ^~
auxiliar.cpp: In function 'SDL_Surface* load_maskedimage(char*, char*, char*)':
auxiliar.cpp:94:19: error: cannot convert 'bool' to 'SDL_Surface*' in return
   mask==0) return false;
                   ^~~~~
In file included from GObject.cpp:19:0:
List.h: In destructor 'LLink::~LLink()':
List.h:81:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  ~LLink() {if (obj!=0) delete obj;
               ^~
List.h:82:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
      if (next!=0) delete next;};
      ^~
In file included from GLTManager.cpp:17:0:
List.h: In destructor 'LLink::~LLink()':
List.h:81:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  ~LLink() {if (obj!=0) delete obj;
               ^~
List.h:82:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
      if (next!=0) delete next;};
      ^~
GObject.cpp: In constructor 'GObject::GObject(int, int, int)':
GObject.cpp:35:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  m_class=new Symbol("GObject");
                              ^
GObject.cpp: In member function 'virtual bool GObject::is_a(Symbol*)':
GObject.cpp:64:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  return c->cmp("GObject");
                         ^
gcc6 -O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc6 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GO_skull.cpp -o GO_skull.o
gmake[1]: *** [../build/linux/Makefile:46: auxiliar.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
In file included from font_extractor.cpp:21:0:
List.h: In destructor 'LLink::~LLink()':
List.h:81:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  ~LLink() {if (obj!=0) delete obj;
               ^~
List.h:82:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
      if (next!=0) delete next;};
      ^~
In file included from GMap.cpp:21:0:
List.h: In destructor 'LLink::~LLink()':
List.h:81:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  ~LLink() {if (obj!=0) delete obj;
               ^~
List.h:82:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
      if (next!=0) delete next;};
      ^~
In file included from GMapLayer.cpp:19:0:
List.h: In destructor 'LLink::~LLink()':
List.h:81:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  ~LLink() {if (obj!=0) delete obj;
               ^~
List.h:82:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
      if (next!=0) delete next;};
      ^~
GMap.cpp: In constructor 'GMap::GMap(FILE*)':
GMap.cpp:67:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    if (tp->m_tile_name->cmp("gr_tile-ground-m")) background_type=0;
                                               ^
GMap.cpp:68:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    if (tp->m_tile_name->cmp("gr_tilegreen-ground-m")) background_type=1;
                                                    ^
GMap.cpp:69:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    if (tp->m_tile_name->cmp("gr_tileblue-ground-m")) background_type=2;
                                                   ^
GMap.cpp:70:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    if (tp->m_tile_name->cmp("gr_tileyellow-ground-m")) background_type=3;
                                                     ^
GMap.cpp:75:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   case 0: tp->m_tile_name=new Symbol("bg_background");
                                                     ^
GMap.cpp:77:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   case 1: tp->m_tile_name=new Symbol("bg_background_green");
                                                           ^
GMap.cpp:79:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   case 2: tp->m_tile_name=new Symbol("bg_background_blue");
                                                          ^
GMap.cpp:81:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   case 3: tp->m_tile_name=new Symbol("bg_background_yellow");
                                                            ^
GMap.cpp:101:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
     if (op->m_object_name->cmp("GO_water") ||
                                          ^
GMap.cpp:102:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
      op->m_object_name->cmp("GO_lava")) {
                                      ^
GMap.cpp: In member function 'void GMap::search_for_bridges(GLTManager*)':
GMap.cpp:203:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
     if (pt->m_tile_name->cmp("gr_tilegreen-bridge-l") ||
                                                     ^
GMap.cpp:204:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
      pt->m_tile_name->cmp("gr_tilegreen-bridge-m") ||
                                                  ^
GMap.cpp:205:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
      pt->m_tile_name->cmp("gr_tilegreen-bridge-r") ||
                                                  ^
GMap.cpp:206:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
      pt->m_tile_name->cmp("gr_tileblue-bridge-l") ||
                                                 ^
GMap.cpp:207:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
      pt->m_tile_name->cmp("gr_tileblue-bridge-m") ||
                                                 ^
GMap.cpp:208:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
      pt->m_tile_name->cmp("gr_tileblue-bridge-r") ||
                                                 ^
GMap.cpp:209:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
      pt->m_tile_name->cmp("gr_tileyellow-bridge-l") ||
                                                   ^
GMap.cpp:210:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
      pt->m_tile_name->cmp("gr_tileyellow-bridge-m") ||
                                                   ^
GMap.cpp:211:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
      pt->m_tile_name->cmp("gr_tileyellow-bridge-r") ||
                                                   ^
GMap.cpp:212:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
      pt->m_tile_name->cmp("gr_tile-bridge-l") ||
                                             ^
GMap.cpp:213:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
      pt->m_tile_name->cmp("gr_tile-bridge-m") ||
                                             ^
GMap.cpp:214:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
      pt->m_tile_name->cmp("gr_tile-bridge-r")) {
                                             ^
GMap.cpp:222:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
     if (pt->m_tile_name->cmp("gr_tilegreen-ground-l") ||
                                                     ^
GMap.cpp:223:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
      pt->m_tile_name->cmp("gr_tilegreen-ground-m") ||
                                                  ^
GMap.cpp:224:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
      pt->m_tile_name->cmp("gr_tilegreen-ground-r") ||
                                                  ^
GMap.cpp:225:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
      pt->m_tile_name->cmp("gr_tileblue-ground-l") ||
                                                 ^
GMap.cpp:226:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
      pt->m_tile_name->cmp("gr_tileblue-ground-m") ||
                                                 ^
GMap.cpp:227:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
      pt->m_tile_name->cmp("gr_tileblue-ground-r") ||
                                                 ^
GMap.cpp:228:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
      pt->m_tile_name->cmp("gr_tileyellow-ground-l") ||
                                                   ^
GMap.cpp:229:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
      pt->m_tile_name->cmp("gr_tileyellow-ground-m") ||
                                                   ^
GMap.cpp:230:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
      pt->m_tile_name->cmp("gr_tileyellow-ground-r") ||
                                                   ^
GMap.cpp:231:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
      pt->m_tile_name->cmp("gr_tile-ground-l") ||
                                             ^
GMap.cpp:232:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
      pt->m_tile_name->cmp("gr_tile-ground-m") ||
                                             ^
GMap.cpp:233:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
      pt->m_tile_name->cmp("gr_tile-ground-r")) {
                                             ^
GMap.cpp: In member function 'void GMap::draw(GLTManager*, bool)':
GMap.cpp:265:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   (m_layers[4]->get_object("GO_water")!=0 ||
                                      ^
GMap.cpp:266:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    m_layers[4]->get_object("GO_lava")!=0)) {
                                     ^
GMap.cpp: In member function 'int GMap::get_water_level()':
GMap.cpp:560:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    if (op->m_object_name->cmp("GO_water")) {
                                         ^
GMap.cpp: In member function 'int GMap::get_lava_level()':
GMap.cpp:580:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    if (op->m_object_name->cmp("GO_lava")) {
                                        ^
GMapLayer.cpp: In member function 'void GMapLayer::reset_first(int, GMap*)':
GMapLayer.cpp:97:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   if (o->is_a("GO_water") ||
                         ^
GMapLayer.cpp:98:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    o->is_a("GO_lava")) {
                     ^
GMapLayer.cpp: In member function 'void GMapLayer::reset(int)':
GMapLayer.cpp:117:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    if (o->is_a("GO_enemy") && !o->is_a("GO_fratelli")) to_delete.Add(o);
                          ^
GMapLayer.cpp:117:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    if (o->is_a("GO_enemy") && !o->is_a("GO_fratelli")) to_delete.Add(o);
                                                     ^
GMapLayer.cpp:129:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   if (o->is_a("GO_enemy")) {
                         ^
GMapLayer.cpp: In member function 'void GMapLayer::cycle_clock(VirtualController*, GMap*, int, GLTManager*, SFXManager*)':
GMapLayer.cpp:179:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   if (o->is_a("GO_character") ||
                             ^
GMapLayer.cpp:180:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    o->is_a("GO_item") ||
                     ^
GMapLayer.cpp:181:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    o->is_a("GO_key") ||
                    ^
GMapLayer.cpp:182:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    o->is_a("GO_cagedoor") ||
                         ^
GMapLayer.cpp:183:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    o->is_a("GO_entrydoor") ||
                          ^
GMapLayer.cpp:184:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    o->is_a("GO_exitdoor")) {
                         ^
GMapLayer.cpp:197:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   if (o->is_a("GO_character") ||
                             ^
GMapLayer.cpp:198:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    o->is_a("GO_item") ||
                     ^
GMapLayer.cpp:199:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    o->is_a("GO_key") ||
                    ^
GMapLayer.cpp:200:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    o->is_a("GO_cagedoor") ||
                         ^
GMapLayer.cpp:201:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    o->is_a("GO_entrydoor") ||
                          ^
GMapLayer.cpp:202:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    o->is_a("GO_exitdoor")) {
                         ^
GMapLayer.cpp: In member function 'bool GMapLayer::collision_with_background(GObject*, GLTManager*)':
GMapLayer.cpp:297:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  while(l.Iterate(o)) if (o->is_a("GO_bigrock") && o!=o2 && o2->collision(o)) return true;
                                              ^
GMapLayer.cpp: In member function 'bool GMapLayer::collision_with_background(GObject*, int, int, GLTManager*)':
GMapLayer.cpp:320:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   if (o->is_a("GO_bigrock") && o!=o2 && o2->collision(o)) {
                           ^
In file included from GooniesScript.cpp:19:0:
List.h: In destructor 'LLink::~LLink()':
List.h:81:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  ~LLink() {if (obj!=0) delete obj;
               ^~
List.h:82:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
      if (next!=0) delete next;};
      ^~
GooniesScript.cpp: In member function 'bool GScriptAction::execute(GO_character*, GMap*, GLTManager*, SFXManager*, int)':
GooniesScript.cpp:97:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    Sound_play(SFXM->get("sfx/item_appear"),m_sfx_volume);
                                          ^
GooniesScript.cpp: In member function 'bool GScriptCondition::execute(GO_character*, GMap*, GLTManager*, SFXManager*, int)':
GooniesScript.cpp:188:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   if (map->get_object("OB_bat")==0 &&
                               ^
GooniesScript.cpp:189:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    map->get_object("OB_skull")==0 &&
                              ^
GooniesScript.cpp:190:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    map->get_object("OB_jumpingskull")==0 &&
                                     ^
GooniesScript.cpp:191:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    map->get_object("OB_trickyskull")==0 &&
                                    ^
GooniesScript.cpp:192:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    map->get_object("OB_skeleton")==0) return true;
                                 ^
In file included from GO_skull.cpp:20:0:
List.h: In destructor 'LLink::~LLink()':
List.h:81:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  ~LLink() {if (obj!=0) delete obj;
               ^~
List.h:82:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
      if (next!=0) delete next;};
      ^~
GO_skull.cpp: In constructor 'GO_skull::GO_skull(int, int, int, int)':
GO_skull.cpp:43:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  m_class=new Symbol("GO_skull");
                               ^
GO_skull.cpp: In member function 'virtual bool GO_skull::cycle(VirtualController*, GMap*, int, GLTManager*, SFXManager*)':
GO_skull.cpp:58:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
     Sound_play(SFXM->get("sfx/enemy_appear"),m_sfx_volume);
                                            ^
GO_skull.cpp:85:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
     Sound_play(SFXM->get("sfx/skull_dead"),m_sfx_volume);
                                          ^
GO_skull.cpp: In member function 'virtual void GO_skull::draw(GLTManager*)':
GO_skull.cpp:103:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    if (s==0) m_last_tile_used=GLTM->get("ob_smoke1");
                                                    ^
GO_skull.cpp:104:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         else m_last_tile_used=GLTM->get("ob_smoke2");
                                                    ^
GO_skull.cpp:108:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
     if (s==0) m_last_tile_used=GLTM->get("ob_skull-l1");
                                                       ^
GO_skull.cpp:109:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
       else m_last_tile_used=GLTM->get("ob_skull-l2");
                                                    ^
GO_skull.cpp:111:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
     if (s==0) m_last_tile_used=GLTM->get("ob_skull-r1");
                                                       ^
GO_skull.cpp:112:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
       else m_last_tile_used=GLTM->get("ob_skull-r2");
                                                    ^
GO_skull.cpp:116:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    m_last_tile_used=GLTM->get("ob_skull-death");
                                               ^
GO_skull.cpp: In member function 'virtual bool GO_skull::is_a(Symbol*)':
GO_skull.cpp:126:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  if (c->cmp("GO_skull")) return true;
                       ^
gmake[1]: Leaving directory '/magus/work/usr/mports/games/goonies/work/goonies_r1-0-1/src'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/mports/games/goonies

Links

Depends On

Depend Of

Nothing

Categories