Jeff, Have you successfully compiled Roadster on OSX?
-Ian El vie, 10-02-2006 a las 06:45 -0600, Jeff Garrett escribió: > > Now, the big Lebowsky.. "make" > > > > make > make.log & > > > > The process goes on for a minute or so then dies in mainwindow.c with > > the following trainwreck of errors: > > > > mainwindow.c: In function > > 'mainwindow_locationset_list_is_separator_callback': > > mainwindow.c:506: error: parameter name omitted > > mainwindow.c: In function 'mainwindow_on_window_state_change': > > mainwindow.c:1391: error: parameter name omitted > > mainwindow.c: In function 'mainwindow_on_expose_event': > > mainwindow.c:1513: error: parameter name omitted > > mainwindow.c: In function 'mainwindow_on_gps_show_position_toggled': > > mainwindow.c:1534: error: parameter name omitted > [and more of the same...] > > > Dropping back to gcc 3.3 doesn't solve the problem. Since nobody > > building on Linux has reported this, my guess is (without looking > > carefully at the code) that there that Apple's gcc4 doesn't like > > what's being done here. Any suggestions about how to get around these > > errors? > > Each of those functions has a parameter called __unused. On Linux, by > happenstance this name isn't being used by anything (even though it's > reserved). On Darwin, in sys/cdefs.h it is defined to be a certain > GCC-specific construction and thus can't serve as the parameter name. > > Try applying the attached patch. It renames all the identifiers I could > find in live code starting with __. > > _______________________________________________ > roadster mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/roadster _______________________________________________ roadster mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/roadster
