I can't figure out which of these warnings is the cause of the problem,
but the build is erroring out on the newly released OS X 10.5.5.
Perhaps, the version upgrade was just a coincidence. Also, this is
happening whether building against the static deps provided or against
my own built versions.
I tried resetting hard all the way back to 00ea2ba58e70ed9750d2, but
that didn't seem to help matters.
In any case, I can't figure out what to look at so I've included below
the error log. As you can see, the build stops at cocoa.m.
Anyone have any tips for figuring out which of these warnings are the
normal ones and which are the new?
--
Jeff
cc -I. -O -c -oshoes/native/cocoa.o -I./deps/include
-I./deps/include/cairo -I./deps/include/pango-1.0
-I./deps/include/glib-2.0 -I./deps/lib/glib-2.0/include
-I./deps/lib/ruby/1.8/i686-darwin8.9.1 -DSHOES_QUARTZ -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wredundant-decls -fpascal-strings -I/tmp/dep/include -fno-common -pipe
-fno-common -x objective-c shoes/native/cocoa.m
In file included from ./shoes/app.h:14,
from shoes/native/cocoa.m:5:
./deps/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:506: warning: function
declaration isn’t a prototype
./deps/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:506: warning: function
declaration isn’t a prototype
./deps/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:507: warning: function
declaration isn’t a prototype
./deps/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:507: warning: function
declaration isn’t a prototype
./deps/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:515: warning: function
declaration isn’t a prototype
./deps/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:516: warning: function
declaration isn’t a prototype
./deps/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:517: warning: function
declaration isn’t a prototype
./deps/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:572: warning: function
declaration isn’t a prototype
./deps/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:573: warning: function
declaration isn’t a prototype
./deps/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:573: warning: function
declaration isn’t a prototype
./deps/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:574: warning: function
declaration isn’t a prototype
./deps/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:574: warning: function
declaration isn’t a prototype
./deps/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:575: warning: function
declaration isn’t a prototype
./deps/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:575: warning: function
declaration isn’t a prototype
./deps/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:576: warning: function
declaration isn’t a prototype
In file included from ./deps/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:719,
from ./shoes/app.h:14,
from shoes/native/cocoa.m:5:
./deps/lib/ruby/1.8/i686-darwin8.9.1/intern.h:56: warning: function
declaration isn’t a prototype
./deps/lib/ruby/1.8/i686-darwin8.9.1/intern.h:66: warning: redundant
redeclaration of ‘rb_uint2inum’
./deps/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:146: warning: previous
declaration of ‘rb_uint2inum’ was here
./deps/lib/ruby/1.8/i686-darwin8.9.1/intern.h:67: warning: redundant
redeclaration of ‘rb_int2inum’
./deps/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:142: warning: previous
declaration of ‘rb_int2inum’ was here
./deps/lib/ruby/1.8/i686-darwin8.9.1/intern.h:79: warning: redundant
redeclaration of ‘rb_ll2inum’
./deps/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:152: warning: previous
declaration of ‘rb_ll2inum’ was here
./deps/lib/ruby/1.8/i686-darwin8.9.1/intern.h:80: warning: redundant
redeclaration of ‘rb_ull2inum’
./deps/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:154: warning: previous
declaration of ‘rb_ull2inum’ was here
./deps/lib/ruby/1.8/i686-darwin8.9.1/intern.h:120: warning: function
declaration isn’t a prototype
./deps/lib/ruby/1.8/i686-darwin8.9.1/intern.h:123: warning: function
declaration isn’t a prototype
./deps/lib/ruby/1.8/i686-darwin8.9.1/intern.h:124: warning: function
declaration isn’t a prototype
./deps/lib/ruby/1.8/i686-darwin8.9.1/intern.h:125: warning: function
declaration isn’t a prototype
./deps/lib/ruby/1.8/i686-darwin8.9.1/intern.h:188: warning: function
declaration isn’t a prototype
./deps/lib/ruby/1.8/i686-darwin8.9.1/intern.h:214: warning: function
declaration isn’t a prototype
./deps/lib/ruby/1.8/i686-darwin8.9.1/intern.h:257: warning: function
declaration isn’t a prototype
./deps/lib/ruby/1.8/i686-darwin8.9.1/intern.h:258: warning: function
declaration isn’t a prototype
./deps/lib/ruby/1.8/i686-darwin8.9.1/intern.h:478: warning: redundant
redeclaration of ‘rb_iv_set’
./deps/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:548: warning: previous
declaration of ‘rb_iv_set’ was here
./deps/lib/ruby/1.8/i686-darwin8.9.1/intern.h:479: warning: redundant
redeclaration of ‘rb_iv_get’
./deps/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:547: warning: previous
declaration of ‘rb_iv_get’ was here
./deps/lib/ruby/1.8/i686-darwin8.9.1/intern.h:495: warning: redundant
redeclaration of ‘rb_mod_constants’
./deps/lib/ruby/1.8/i686-darwin8.9.1/intern.h:486: warning: previous
declaration of ‘rb_mod_constants’ was here
In file included from shoes/native/cocoa.m:5:
./shoes/app.h:61: warning: function declaration isn’t a prototype
In file included from ./shoes/ruby.h:6,
from shoes/native/cocoa.m:6:
./deps/lib/ruby/1.8/i686-darwin8.9.1/rubysig.h:75: warning: function
declaration isn’t a prototype
./deps/lib/ruby/1.8/i686-darwin8.9.1/rubysig.h:81: warning: redundant
redeclaration of ‘rb_thread_schedule’
./deps/lib/ruby/1.8/i686-darwin8.9.1/intern.h:200: warning: previous
declaration of ‘rb_thread_schedule’ was here
In file included from ./shoes/ruby.h:16,
from shoes/native/cocoa.m:6:
./deps/lib/ruby/1.8/i686-darwin8.9.1/st.h:22: warning: function
declaration isn’t a prototype
./deps/lib/ruby/1.8/i686-darwin8.9.1/st.h:23: warning: function
declaration isn’t a prototype
./deps/lib/ruby/1.8/i686-darwin8.9.1/st.h:58: warning: function
declaration isn’t a prototype
./deps/lib/ruby/1.8/i686-darwin8.9.1/st.h:70: warning: function
declaration isn’t a prototype
In file included from shoes/native/cocoa.m:6:
./shoes/ruby.h:37: warning: function declaration isn’t a prototype
In file included from shoes/native/cocoa.m:9:
./shoes/native.h:20: warning: function declaration isn’t a prototype
./shoes/native.h:22: warning: function declaration isn’t a prototype
./shoes/native.h:37: warning: function declaration isn’t a prototype
shoes/native/cocoa.m: In function ‘-[ShoesEvents application:openFile:]’:
shoes/native/cocoa.m:38: warning: passing argument 1 of ‘shoes_load’
discards qualifiers from pointer target type
shoes/native/cocoa.m: In function ‘-[ShoesWindow keyDown:]’:
shoes/native/cocoa.m:179: warning: initialization discards qualifiers
from pointer target type
shoes/native/cocoa.m: At top level:
shoes/native/cocoa.m:397: warning: no previous prototype for
‘add_to_menubar’
shoes/native/cocoa.m:407: warning: no previous prototype for
‘create_apple_menu’
shoes/native/cocoa.m: In function ‘create_apple_menu’:
shoes/native/cocoa.m:451: warning: no ‘-setAppleMenu:’ method found
shoes/native/cocoa.m:451: warning: (Messages without a matching method
signature
shoes/native/cocoa.m:451: warning: will be assumed to return ‘id’ and accept
shoes/native/cocoa.m:451: warning: ‘...’ as arguments.)
shoes/native/cocoa.m: At top level:
shoes/native/cocoa.m:458: warning: no previous prototype for
‘create_window_menu’
shoes/native/cocoa.m:476: warning: no previous prototype for
‘create_help_menu’
shoes/native/cocoa.m:491: warning: function declaration isn’t a prototype
shoes/native/cocoa.m: In function ‘shoes_native_init’:
shoes/native/cocoa.m:495: warning: ‘main’ is usually a function
shoes/native/cocoa.m: At top level:
shoes/native/cocoa.m:518: warning: function declaration isn’t a prototype
shoes/native/cocoa.m:526: warning: no previous prototype for
‘shoes_get_time’
shoes/native/cocoa.m:531: warning: no previous prototype for
‘shoes_diff_time’
shoes/native/cocoa.m: In function ‘shoes_native_app_open’:
shoes/native/cocoa.m:651: warning: label ‘quit’ defined but not used
shoes/native/cocoa.m: At top level:
shoes/native/cocoa.m:663: warning: function declaration isn’t a prototype
shoes/native/cocoa.m: In function ‘shoes_browser_open’:
shoes/native/cocoa.m:681: warning: implicit declaration of function
‘shoes_sys’
shoes/native/cocoa.m: In function ‘shoes_slot_init’:
shoes/native/cocoa.m:691: error: ‘struct <anonymous>’ has no member
named ‘canvas’
shoes/native/cocoa.m:691: warning: implicit declaration of function
‘gtk_fixed_new’
shoes/native/cocoa.m: In function ‘shoes_native_surface_hide’:
shoes/native/cocoa.m:850: warning: passing argument 1 of
‘HIViewSetVisible’ from incompatible pointer type
shoes/native/cocoa.m: In function ‘shoes_native_surface_show’:
shoes/native/cocoa.m:856: warning: passing argument 1 of
‘HIViewSetVisible’ from incompatible pointer type
shoes/native/cocoa.m: In function ‘shoes_dialog_alert’:
shoes/native/cocoa.m:1114: warning: unused variable ‘answer’
shoes/native/cocoa.m: In function ‘shoes_dialog_color’:
shoes/native/cocoa.m:1176: warning: pointer targets in passing argument
2 of ‘GetColor’ differ in signedness
shoes/native/cocoa.m: In function ‘shoes_dialog_chooser’:
shoes/native/cocoa.m:1193: warning: initialization discards qualifiers
from pointer target type
shoes/native/cocoa.m: In function ‘shoes_dialog_save’:
shoes/native/cocoa.m:1211: warning: initialization discards qualifiers
from pointer target type
rake aborted!
Command failed with status (1): [gcc -I. -O -c -oshoes/native/cocoa.o
-I./d...]
/Users/jeffhodges/projects/shoes/rakefile:383
(See full trace by running task with --trace)