On 2008-08-31 21:37-0700 Jerry wrote: > Attached is a zip file that more closely emulates the PLPlot situation, with > plmap written in C but with the callback, mapform19, written in Ada. Could a > few of you test it to see if it runs or crashes on your machines? Either way, > I'd like to report back to the geniuses at comp.lang.ada. > > There's a little bash file included.
Here are the (bad) results on my 64-bit platform that conforms to C99. (I ran the shell script with the bash "." command to make the equivalent of typing in the non-commented commands in that file rather than running some of them silently.) [EMAIL PROTECTED]> . compile_and_run.sh gcc-4.3 -c x19a_temp.adb x19a_temp.adb:10:38: warning: type of argument "mapform19.x" is unconstrained array x19a_temp.adb:10:38: warning: foreign caller must pass bounds explicitly gcc-4.3 -c type_declaration.ads gnatbind -x x19a_temp.ali gnatlink x19a_temp.ali plmap.o raised STORAGE_ERROR : stack overflow (or erroneous memory access) Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel