On 2009-03-19 22:08+0100 Werner Smekal wrote:

> Example 23 doesn't compile now. I get the following message:
>
> [ 77%] Building Fortran object examples/f77/CMakeFiles/x23f.dir/x23f.f.obj
> Z:\DevZone\PLdev\build\gcc\debug\examples\f77\x23f.f: In program `x23f':
> Z:\DevZone\PLdev\build\gcc\debug\examples\f77\x23f.f:320: warning:
>        &     trim(family(ifamily+1))//' '//trim(style(istyle+1))//' '//
>              ^
> Reference to unimplemented intrinsic `TRIM' at (^) (assumed EXTERNAL)
> Z:\DevZone\PLdev\build\gcc\debug\examples\f77\x23f.f:320:
>        &     trim(family(ifamily+1))//' '//trim(style(istyle+1))//' '//
>              ^
> Invalid declaration of or reference to symbol `trim' at (^) [initially
> seen at (^)]
> mingw32-make[2]: *** [examples/f77/CMakeFiles/x23f.dir/x23f.f.obj] Error 1
> mingw32-make[1]: *** [examples/f77/CMakeFiles/x23f.dir/all] Error 2
> mingw32-make: *** [all] Error 2
>
> My Fortran knowledge is not very exhaustive. Any ideas?

"trim" is recognized by the gfortran compiler (at least the version of it
that I have), but not g77 (which I believe is what you still must use with
MinGW).  Our other f77 examples use lnblnk instead of trim and apparently
you (and anybody else who has tested our f77 examples) had no trouble with
that.  Therefore, I have (revision 9761) updated examples 23 and 31 (the
ones that were using trim) to use lnblnk instead of trim.

Does that revision work for you?

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
__________________________

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to