On Sun, 23 Sep 2012 13:49:55 -0700, Alexander Hansen <[email protected]> wrote: On 9/23/12 1:41 PM, Martin Costabel wrote: > > On 23/09/12 21:28, Daniel Macks wrote: > > [] > >>>> w_export.c:1019:5: error: non-void function 'toggle_hpgl_pcl_switch' > >>>> should return a value [-Wreturn-type] > >>>> return; > > [] > >> I put a newer version of xfig in my CVS exp. It fixes a ton of compiler > >> noise in general, but I don't have xcode4.5 to know if it is now "clean > >> enough" for latest clang (I don't have a sandbox machine at that > >> xcode). It also pushes newer dependencies. So even if it still requires > >> explicit compiler workaround, might be good to propagate this to the > >> public repos--at least we'll be hacking and tweaking a the latest > >> flavor of this ancient codebase. > > > The return-type error still happens, but when I add -Wno-return-type to > > the perl -pie ... Makefile line in CompileScript (and add 10.8 to the > > distributions), it builds OK on 10.8.2 with xcode-4.5.
New version pushed to 10.[5678] > I know there has been some reluctance to turn off return-type errors > globally, since that might mask legitimately incorrect (instead of > sloppy) code. I left a Desc note about the fix we're using now (setting a return value to match the declared type) and my concern with it (that type doesn't seem to match its use-case). dan -- Daniel Macks [email protected] ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ Fink-users mailing list [email protected] List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
