On Fri, Apr 24, 2009 at 01:49:25PM -0700, Alan Irwin wrote: > On 2009-04-24 20:58+0100 Andrew Ross wrote: > > > On Fri, Apr 24, 2009 at 02:36:16PM -0500, Geoffrey Furnish wrote: > > Content-Description: message body text > >> Werner Smekal writes: > >> > make VERBOSE=1 > >> > >> I found a cmake var for this too. > >> > >> >> Well, I go to the installed examples dir, and run xtk01 under gdb, and > >> >> it > >> >> tells me there is no debugging info available. > >> >> > >> > I usually debug in the build tree. Add the "-DBUILD_TEST=ON" to the > >> > cmake options and all examples will be compiled in the built tree. > >> > >> When I do this, I get a build failure in a Fortran example. I'm focused on > >> something else, and haven't written Fortran in nearly 15 years. So I'll > >> include my comake invocation script, my cmake output, and my build log. > >> And > >> maybe someone invovled with the Fortran examples can debug it? This was on > >> Fedora 8. > >> > > > > F95 example 20 fixed. Calls to exit didn't have return value associated > > with them. > > I've actually removed them and replaced with the function returning false, > > consistent with other language implementations. > > > > Anyway, hopefully it should now compile for you. > > > > Andrew > > Andrew, that change should be reverted. I tried the same thing here until I > realized exit is very different from call exit(status).
Done. Actually a large part of my change was converting calls to exit to setting the error flag and return. This still stands I think and makes the example consistent in behaviour with the C and f77 versions. Andrew ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel