On Mon, Apr 27, 2009 at 08:34:32AM +0200, Arjen Markus wrote: > On 2009-04-24 22:46, Alan W. Irwin wrote: > > On 2009-04-24 14:36-0500 Geoffrey Furnish wrote: > > > > > Thanks for that fortran 95 error report. > > > > However, I don't think we should change anything in PLplot to deal with this > > issue. The exit statements in examples/f95/x20f.f90 are causing the trouble > > for your f95 compiler. Those are very different from "call exit". The bare > > exit command is used to escape loops in Fortran 95. Modern gfortran > > implements it as does the Intel compiler (and presumably all other > > commercial Fortran compilers). Apparently, you have some old version of > > gfortran that doesn't have bare exit implemented yet. Our Fortran 95 > > examples build and work great here with gfortran (GNU Fortran (Debian > > 4.3.2-1.1) 4.3.2). > > > > That must have been a really really old and buggy version of gfortran: > as already explained, the exit statement in Fortran 90/95 is the > equivalent of C's break in a loop (and cycle is the equivalent of > C's continue in a loop). I can hardly imagine that any official version > of gfortran would not have gotten that rather basic feature right.
Arjen, It turned out to be more complicated than that. Exit was implemented but there was a bug if you used that after already using the exit intrinsic to exit the program. See my workaround from yesterday. 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