alloc.c: In function ‘clear_marks’:
alloc.c:114:5: warning: call to function ‘GC_apply_to_all_blocks’ without a real prototype [-Wunprototyped-calls]
     GC_apply_to_all_blocks(clear_marks_for_block, (word)0);
     ^
In file included from alloc.c:23:0:
gc_private.h:691:6: note: ‘GC_apply_to_all_blocks’ was declared here
 void GC_apply_to_all_blocks(/*fn, client_data*/);
      ^
alloc.c: In function ‘GC_gcollect_inner’:
alloc.c:319:7: warning: call to function ‘GC_start_reclaim’ without a real prototype [-Wunprototyped-calls]
       GC_start_reclaim(FALSE);
       ^
In file included from alloc.c:23:0:
gc_private.h:768:6: note: ‘GC_start_reclaim’ was declared here
 void GC_start_reclaim(/*abort_if_found*/);
      ^
alloc.c: In function ‘GC_add_to_heap’:
alloc.c:374:5: warning: call to function ‘GC_install_header’ without a real prototype [-Wunprototyped-calls]
     GC_install_header(p);
     ^
In file included from alloc.c:23:0:
gc_private.h:809:6: note: ‘GC_install_header’ was declared here
 void GC_install_header(/*h*/);
      ^
alloc.c:377:5: warning: call to function ‘GC_freehblk’ without a real prototype [-Wunprototyped-calls]
     GC_freehblk(p);
     ^
In file included from alloc.c:23:0:
gc_private.h:765:6: note: ‘GC_freehblk’ was declared here
 void GC_freehblk();  /* Deallocate a heap block and mark it  */
      ^
alloc.c: In function ‘GC_expand_hp_inner’:
gc_private.h:391:35: warning: call to function ‘sbrk’ without a real prototype [-Wunprototyped-calls]
 # define HBLKPTR(objptr) ((struct hblk *)(((word) (objptr)) & ~(HBLKSIZE-1)))
                                   ^
gc_private.h:230:31: note: in expansion of macro ‘HBLKPTR’
 #       define GET_MEM(bytes) HBLKPTR(sbrk((size_t)(bytes + HBLKSIZE)) \
                               ^
alloc.c:417:27: note: in expansion of macro ‘GET_MEM’
     struct hblk * space = GET_MEM(bytes);
                           ^
gc_private.h:228:15: note: ‘sbrk’ was declared here
       caddr_t sbrk();
               ^
alloc.c: In function ‘GC_collect_or_expand’:
alloc.c:478:12: warning: call to function ‘GC_printf’ without a real prototype [-Wunprototyped-calls]
            WARN("Out of Memory!  Trying to continue ...\n");
            ^
In file included from alloc.c:23:0:
gc_private.h:835:6: note: ‘GC_printf’ was declared here
 void GC_printf(/* format, a, b, c, d, e, f */);
      ^
alloc.c:481:6: warning: call to function ‘GC_err_puts’ without a real prototype [-Wunprototyped-calls]
      GC_err_printf0("Out of Memory!  Giving up!\n");
      ^
In file included from alloc.c:23:0:
gc_private.h:870:6: note: ‘GC_err_puts’ was declared here
 void GC_err_puts(/* char *s */);
      ^
gc_private.h:335:25: warning: incompatible implicit declaration of built-in function ‘exit’ [enabled by default]
 #   define EXIT() (void)exit(1)
                         ^
alloc.c:482:6: note: in expansion of macro ‘EXIT’
      EXIT();
      ^
alloc.c: In function ‘GC_allocobj’:
alloc.c:504:7: warning: call to function ‘GC_continue_reclaim’ without a real prototype [-Wunprototyped-calls]
       GC_continue_reclaim(sz, kind);
       ^
In file included from alloc.c:23:0:
gc_private.h:774:6: note: ‘GC_continue_reclaim’ was declared here
 void GC_continue_reclaim(/*size, kind*/);
      ^
alloc.c:506:9: warning: call to function ‘GC_new_hblk’ without a real prototype [-Wunprototyped-calls]
         GC_new_hblk(sz, kind);
         ^
In file included from alloc.c:23:0:
gc_private.h:756:6: note: ‘GC_new_hblk’ was declared here
 void GC_new_hblk(/*size_in_words, kind*/);
      ^
reclaim.c: In function ‘GC_reclaim_clear2’:
reclaim.c:149:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     plim = (word *)(((unsigned)hbp) + HBLKSIZE);
                      ^
reclaim.c: In function ‘GC_reclaim_clear4’:
reclaim.c:207:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     plim = (word *)(((unsigned)hbp) + HBLKSIZE);
                      ^
reclaim.c: In function ‘GC_reclaim_uninit’:
reclaim.c:246:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     plim = (word *)((((unsigned)hbp) + HBLKSIZE)
                       ^
reclaim.c: In function ‘GC_reclaim_uninit2’:
reclaim.c:292:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     plim = (word *)(((unsigned)hbp) + HBLKSIZE);
                      ^
reclaim.c: In function ‘GC_reclaim_uninit4’:
reclaim.c:347:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     plim = (word *)(((unsigned)hbp) + HBLKSIZE);
                      ^
reclaim.c: In function ‘GC_reclaim_block’:
reclaim.c:455:6: warning: call to function ‘GC_freehblk’ without a real prototype [-Wunprototyped-calls]
      GC_freehblk(hbp);
      ^
In file included from reclaim.c:13:0:
gc_private.h:765:6: note: ‘GC_freehblk’ was declared here
 void GC_freehblk();  /* Deallocate a heap block and mark it  */
      ^
reclaim.c:466:11: warning: call to function ‘GC_freehblk’ without a real prototype [-Wunprototyped-calls]
           GC_freehblk(hbp);
           ^
In file included from reclaim.c:13:0:
gc_private.h:765:6: note: ‘GC_freehblk’ was declared here
 void GC_freehblk();  /* Deallocate a heap block and mark it  */
      ^
reclaim.c: In function ‘GC_start_reclaim’:
reclaim.c:515:5: warning: call to function ‘GC_apply_to_all_blocks’ without a real prototype [-Wunprototyped-calls]
     GC_apply_to_all_blocks(GC_reclaim_block, abort_if_found);
     ^
In file included from reclaim.c:13:0:
gc_private.h:691:6: note: ‘GC_apply_to_all_blocks’ was declared here
 void GC_apply_to_all_blocks(/*fn, client_data*/);
      ^
allochblk.c: In function ‘setup_header’:
allochblk.c:54:7: warning: call to function ‘GC_add_map_entry’ without a real prototype [-Wunprototyped-calls]
       GC_add_map_entry(sz);
       ^
In file included from allochblk.c:15:0:
gc_private.h:746:6: note: ‘GC_add_map_entry’ was declared here
 void GC_add_map_entry(/*sz*/);
      ^
allochblk.c:58:7: warning: call to function ‘GC_clear_hdr_marks’ without a real prototype [-Wunprototyped-calls]
       GC_clear_hdr_marks(hhdr);
       ^
In file included from allochblk.c:15:0:
gc_private.h:708:6: note: ‘GC_clear_hdr_marks’ was declared here
 void GC_clear_hdr_marks(/* hhdr */);  /* Clear the mark bits in a header */
      ^
allochblk.c: In function ‘GC_allochblk’:
allochblk.c:121:12: warning: call to function ‘GC_is_black_listed’ without a real prototype [-Wunprototyped-calls]
            && !GC_is_black_listed(thishbp, (word)size_needed)) {
            ^
In file included from allochblk.c:15:0:
gc_private.h:727:15: note: ‘GC_is_black_listed’ was declared here
 struct hblk * GC_is_black_listed(/* h, len */);
               ^
allochblk.c:130:25: warning: call to function ‘GC_is_black_listed’ without a real prototype [-Wunprototyped-calls]
                         (word)size_needed))) {
                         ^
In file included from allochblk.c:15:0:
gc_private.h:727:15: note: ‘GC_is_black_listed’ was declared here
 struct hblk * GC_is_black_listed(/* h, len */);
               ^
allochblk.c:137:16: warning: call to function ‘GC_install_header’ without a real prototype [-Wunprototyped-calls]
                GC_install_header(thishbp);
                ^
In file included from allochblk.c:15:0:
gc_private.h:809:6: note: ‘GC_install_header’ was declared here
 void GC_install_header(/*h*/);
      ^
allochblk.c:163:16: warning: call to function ‘GC_install_counts’ without a real prototype [-Wunprototyped-calls]
                GC_install_counts(hbp, hhdr->hb_sz);
                ^
In file included from allochblk.c:15:0:
gc_private.h:811:6: note: ‘GC_install_counts’ was declared here
 void GC_install_counts(/*h, sz*/);
      ^
allochblk.c:186:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
        (((unsigned)thishbp) + size_needed);
          ^
allochblk.c:187:4: warning: call to function ‘GC_install_header’ without a real prototype [-Wunprototyped-calls]
    GC_install_header(hbp);
    ^
In file included from allochblk.c:15:0:
gc_private.h:809:6: note: ‘GC_install_header’ was declared here
 void GC_install_header(/*h*/);
      ^
allochblk.c:189:4: warning: call to function ‘GC_invalidate_map’ without a real prototype [-Wunprototyped-calls]
    GC_invalidate_map(hhdr);
    ^
In file included from allochblk.c:15:0:
gc_private.h:741:6: note: ‘GC_invalidate_map’ was declared here
 void GC_invalidate_map(/* hdr */);
      ^
allochblk.c:214:6: warning: call to function ‘GC_install_counts’ without a real prototype [-Wunprototyped-calls]
      GC_install_counts(thishbp, (word)size_needed);
      ^
In file included from allochblk.c:15:0:
gc_private.h:811:6: note: ‘GC_install_counts’ was declared here
 void GC_install_counts(/*h, sz*/);
      ^
allochblk.c: In function ‘GC_freehblk’:
allochblk.c:243:5: warning: call to function ‘GC_remove_counts’ without a real prototype [-Wunprototyped-calls]
     GC_remove_counts(p, (word)size);
     ^
In file included from allochblk.c:15:0:
gc_private.h:816:6: note: ‘GC_remove_counts’ was declared here
 void GC_remove_counts(/*h, sz*/);
      ^
allochblk.c:245:5: warning: call to function ‘GC_invalidate_map’ without a real prototype [-Wunprototyped-calls]
     GC_invalidate_map(phdr);
     ^
In file included from allochblk.c:15:0:
gc_private.h:741:6: note: ‘GC_invalidate_map’ was declared here
 void GC_invalidate_map(/* hdr */);
      ^
allochblk.c:261:9: warning: call to function ‘GC_printf’ without a real prototype [-Wunprototyped-calls]
         GC_printf1("Duplicate large block deallocation of 0x%lx\n",
         ^
In file included from allochblk.c:15:0:
gc_private.h:835:6: note: ‘GC_printf’ was declared here
 void GC_printf(/* format, a, b, c, d, e, f */);
      ^
allochblk.c:263:9: warning: call to function ‘GC_printf’ without a real prototype [-Wunprototyped-calls]
         GC_printf2("Surrounding free blocks are 0x%lx and 0x%lx\n",
         ^
In file included from allochblk.c:15:0:
gc_private.h:835:6: note: ‘GC_printf’ was declared here
 void GC_printf(/* format, a, b, c, d, e, f */);
      ^
allochblk.c:271:2: warning: call to function ‘GC_remove_header’ without a real prototype [-Wunprototyped-calls]
  GC_remove_header(hbp);
  ^
In file included from allochblk.c:15:0:
gc_private.h:814:6: note: ‘GC_remove_header’ was declared here
 void GC_remove_header(/*h*/);
      ^
allochblk.c:284:2: warning: call to function ‘GC_remove_header’ without a real prototype [-Wunprototyped-calls]
  GC_remove_header(p);
  ^
In file included from allochblk.c:15:0:
gc_private.h:814:6: note: ‘GC_remove_header’ was declared here
 void GC_remove_header(/*h*/);
      ^
misc.c: In function ‘GC_generic_malloc’:
misc.c:223:6: warning: call to function ‘GC_allocobj’ without a real prototype [-Wunprototyped-calls]
      op = GC_allocobj(lw, k);
      ^
In file included from misc.c:20:0:
gc_private.h:804:7: note: ‘GC_allocobj’ was declared here
 ptr_t GC_allocobj(/* sz_inn_words, kind */);
       ^
misc.c:240:2: warning: call to function ‘GC_allochblk’ without a real prototype [-Wunprototyped-calls]
  while ((h = GC_allochblk(lw, k)) == 0) {
  ^
In file included from misc.c:20:0:
gc_private.h:759:15: note: ‘GC_allochblk’ was declared here
 struct hblk * GC_allochblk(/*size_in_words, kind*/);
               ^
misc.c:241:5: warning: call to function ‘GC_collect_or_expand’ without a real prototype [-Wunprototyped-calls]
     GC_collect_or_expand(divHBLKSZ(lb) + 1);
     ^
In file included from misc.c:20:0:
gc_private.h:784:6: note: ‘GC_collect_or_expand’ was declared here
 void GC_collect_or_expand(/* needed_blocks */);
      ^
misc.c: In function ‘GC_generic_malloc_words_small’:
misc.c:275:2: warning: call to function ‘GC_allocobj’ without a real prototype [-Wunprototyped-calls]
  op = GC_allocobj(lw, k);
  ^
In file included from misc.c:20:0:
gc_private.h:804:7: note: ‘GC_allocobj’ was declared here
 ptr_t GC_allocobj(/* sz_inn_words, kind */);
       ^
misc.c: In function ‘GC_base’:
misc.c:446:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     h = h - (int)candidate_hdr;
             ^
misc.c: In function ‘GC_free’:
misc.c:513:2: warning: call to function ‘GC_freehblk’ without a real prototype [-Wunprototyped-calls]
  GC_freehblk(h);
  ^
In file included from misc.c:20:0:
gc_private.h:765:6: note: ‘GC_freehblk’ was declared here
 void GC_freehblk();  /* Deallocate a heap block and mark it  */
      ^
misc.c: In function ‘GC_init_inner’:
misc.c:551:9: warning: call to function ‘GC_err_puts’ without a real prototype [-Wunprototyped-calls]
         GC_err_printf0("sizeof (ptr_t) != sizeof(word)\n");
         ^
In file included from misc.c:20:0:
gc_private.h:870:6: note: ‘GC_err_puts’ was declared here
 void GC_err_puts(/* char *s */);
      ^
gc_private.h:320:21: warning: incompatible implicit declaration of built-in function ‘abort’ [enabled by default]
 #   define ABORT(s) abort()
                     ^
misc.c:552:9: note: in expansion of macro ‘ABORT’
         ABORT("sizeof (ptr_t) != sizeof(word)\n");
         ^
misc.c:555:9: warning: call to function ‘GC_err_puts’ without a real prototype [-Wunprototyped-calls]
         GC_err_printf0("sizeof (signed_word) != sizeof(word)\n");
         ^
In file included from misc.c:20:0:
gc_private.h:870:6: note: ‘GC_err_puts’ was declared here
 void GC_err_puts(/* char *s */);
      ^
gc_private.h:320:21: warning: incompatible implicit declaration of built-in function ‘abort’ [enabled by default]
 #   define ABORT(s) abort()
                     ^
misc.c:556:9: note: in expansion of macro ‘ABORT’
         ABORT("sizeof (signed_word) != sizeof(word)\n");
         ^
misc.c:559:9: warning: call to function ‘GC_err_puts’ without a real prototype [-Wunprototyped-calls]
         GC_err_printf0("sizeof (struct hblk) != HBLKSIZE\n");
         ^
In file included from misc.c:20:0:
gc_private.h:870:6: note: ‘GC_err_puts’ was declared here
 void GC_err_puts(/* char *s */);
      ^
gc_private.h:320:21: warning: incompatible implicit declaration of built-in function ‘abort’ [enabled by default]
 #   define ABORT(s) abort()
                     ^
misc.c:560:9: note: in expansion of macro ‘ABORT’
         ABORT("sizeof (struct hblk) != HBLKSIZE\n");
         ^
misc.c:575:11: warning: call to function ‘GC_err_puts’ without a real prototype [-Wunprototyped-calls]
           GC_err_printf0(
           ^
In file included from misc.c:20:0:
gc_private.h:870:6: note: ‘GC_err_puts’ was declared here
 void GC_err_puts(/* char *s */);
      ^
misc.c:577:11: warning: call to function ‘GC_err_printf’ without a real prototype [-Wunprototyped-calls]
           GC_err_printf2("sp = 0x%lx, GC_stackbottom = 0x%lx\n",
           ^
In file included from misc.c:20:0:
gc_private.h:854:6: note: ‘GC_err_printf’ was declared here
 void GC_err_printf(/* format, a, b, c, d, e, f */);
      ^
gc_private.h:320:21: warning: incompatible implicit declaration of built-in function ‘abort’ [enabled by default]
 #   define ABORT(s) abort()
                     ^
misc.c:580:11: note: in expansion of macro ‘ABORT’
           ABORT("stack direction 3\n");
           ^
misc.c:595:6: warning: call to function ‘GC_err_puts’ without a real prototype [-Wunprototyped-calls]
      GC_err_printf0("The type word should be an unsigned integer type\n");
      ^
In file included from misc.c:20:0:
gc_private.h:870:6: note: ‘GC_err_puts’ was declared here
 void GC_err_puts(/* char *s */);
      ^
misc.c:596:6: warning: call to function ‘GC_err_puts’ without a real prototype [-Wunprototyped-calls]
      GC_err_printf0("It appears to be signed\n");
      ^
In file included from misc.c:20:0:
gc_private.h:870:6: note: ‘GC_err_puts’ was declared here
 void GC_err_puts(/* char *s */);
      ^
gc_private.h:320:21: warning: incompatible implicit declaration of built-in function ‘abort’ [enabled by default]
 #   define ABORT(s) abort()
                     ^
misc.c:597:6: note: in expansion of macro ‘ABORT’
      ABORT("word");
      ^
misc.c:601:6: warning: call to function ‘GC_err_puts’ without a real prototype [-Wunprototyped-calls]
      GC_err_printf0(
      ^
In file included from misc.c:20:0:
gc_private.h:870:6: note: ‘GC_err_puts’ was declared here
 void GC_err_puts(/* char *s */);
      ^
misc.c:603:6: warning: call to function ‘GC_err_puts’ without a real prototype [-Wunprototyped-calls]
      GC_err_printf0("It appears to be unsigned\n");
      ^
In file included from misc.c:20:0:
gc_private.h:870:6: note: ‘GC_err_puts’ was declared here
 void GC_err_puts(/* char *s */);
      ^
gc_private.h:320:21: warning: incompatible implicit declaration of built-in function ‘abort’ [enabled by default]
 #   define ABORT(s) abort()
                     ^
misc.c:604:6: note: in expansion of macro ‘ABORT’
      ABORT("signed_word");
      ^
misc.c:612:9: warning: call to function ‘GC_printf’ without a real prototype [-Wunprototyped-calls]
         GC_printf0("Can't start up: no memory\n");
         ^
In file included from misc.c:20:0:
gc_private.h:835:6: note: ‘GC_printf’ was declared here
 void GC_printf(/* format, a, b, c, d, e, f */);
      ^
gc_private.h:335:25: warning: incompatible implicit declaration of built-in function ‘exit’ [enabled by default]
 #   define EXIT() (void)exit(1)
                         ^
misc.c:613:9: note: in expansion of macro ‘EXIT’
         EXIT();
         ^
misc.c:615:5: warning: call to function ‘GC_register_displacement_inner’ without a real prototype [-Wunprototyped-calls]
     GC_register_displacement_inner(0L);
     ^
In file included from misc.c:20:0:
gc_private.h:749:6: note: ‘GC_register_displacement_inner’ was declared here
 void GC_register_displacement_inner(/*offset*/);
      ^
misc.c:627:7: warning: call to function ‘GC_gcollect_inner’ without a real prototype [-Wunprototyped-calls]
       GC_gcollect_inner(TRUE);
       ^
In file included from misc.c:20:0:
gc_private.h:779:6: note: ‘GC_gcollect_inner’ was declared here
 bool GC_gcollect_inner(/* force */);
      ^
misc.c:628:7: warning: call to function ‘GC_gcollect_inner’ without a real prototype [-Wunprototyped-calls]
       GC_gcollect_inner(TRUE);
       ^
In file included from misc.c:20:0:
gc_private.h:779:6: note: ‘GC_gcollect_inner’ was declared here
 bool GC_gcollect_inner(/* force */);
      ^
misc.c: In function ‘GC_printf’:
gc_private.h:320:21: warning: incompatible implicit declaration of built-in function ‘abort’ [enabled by default]
 #   define ABORT(s) abort()
                     ^
misc.c:651:28: note: in expansion of macro ‘ABORT’
     if (buf[1024] != 0x15) ABORT("GC_printf clobbered stack");
                            ^
misc.c: In function ‘GC_err_printf’:
gc_private.h:320:21: warning: incompatible implicit declaration of built-in function ‘abort’ [enabled by default]
 #   define ABORT(s) abort()
                     ^
misc.c:669:28: note: in expansion of macro ‘ABORT’
     if (buf[1024] != 0x15) ABORT("GC_err_printf clobbered stack");
                            ^
misc.c: In function ‘GC_err_puts’:
gc_private.h:320:21: warning: incompatible implicit declaration of built-in function ‘abort’ [enabled by default]
 #   define ABORT(s) abort()
                     ^
misc.c:687:39: note: in expansion of macro ‘ABORT’
       if (write(2, s, strlen(s)) < 0) ABORT("write to stderr failed");
                                       ^
mach_dep.c: In function ‘GC_mark_regs’:
mach_dep.c:191:8: error: expected expression before ‘>’ token
      --> bad news <--
        ^
make: *** [mach_dep.o] Error 1
