Arjen Markus wrote:
> Hi Davide, Hazen,
> 
> I have just repaired it. FYI: The wrapper C function has to be
> duplicated - the second version has an underscore appended.
> This way the linker can choose between func_with_underscore_() and 
> func_with_underscore__(). The solution is not particularly
> elegant, but it works.

Works for me. Thank you Arjen!

Just one last thing. I'm getting a few warning messages from example 29:
[ 75%] Building Fortran object examples/f77/CMakeFiles/x29f.dir/x29f.f.obj
C:\users\hazen\plplot_build\examples\f77\x29f.f: In subroutine `plot4':
C:\users\hazen\plplot_build\examples\f77\x29f.f:277: warning:
                call plctime(1950,0,2,0,0,0.,xmin)
                     1
C:\users\hazen\plplot_build\examples\f77\x29f.f:288: (continued):
                call plctime(1961,7,1,0,0,1.64757d0-.20d0, xmin)
                     2
Argument #6 of `plctime' is one precision at (2) but is some other 
precision at (1) [info -f g77 M GLOBALS]
C:\users\hazen\plplot_build\examples\f77\x29f.f:277: warning:
                call plctime(1950,0,2,0,0,0.,xmin)
                     1
C:\users\hazen\plplot_build\examples\f77\x29f.f:289: (continued):
                call plctime(1961,7,1,0,0,1.64757d0+.20d0, xmax)
                     2
Argument #6 of `plctime' is one precision at (2) but is some other 
precision at (1) [info -f g77 M GLOBALS]
C:\users\hazen\plplot_build\examples\f77\x29f.f:277: warning:
                call plctime(1950,0,2,0,0,0.,xmin)
                     1
C:\users\hazen\plplot_build\examples\f77\x29f.f:304: (continued):
                call plctime(1963,10,1,0,0,2.6972788d0-.20d0, xmin)
                     2
Argument #6 of `plctime' is one precision at (2) but is some other 
precision at (1) [info -f g77 M GLOBALS]
C:\users\hazen\plplot_build\examples\f77\x29f.f:277: warning:
                call plctime(1950,0,2,0,0,0.,xmin)
                     1
C:\users\hazen\plplot_build\examples\f77\x29f.f:305: (continued):
                call plctime(1963,10,1,0,0,2.6972788d0+.20d0, xmax)
                     2
Argument #6 of `plctime' is one precision at (2) but is some other 
precision at (1) [info -f g77 M GLOBALS]
C:\users\hazen\plplot_build\examples\f77\x29f.f:277: warning:
                call plctime(1950,0,2,0,0,0.,xmin)
                     1
C:\users\hazen\plplot_build\examples\f77\x29f.f:320: (continued):
                call plctime(2009,0,1,0,0,34.d0-5.d0,xmin)
                     2
Argument #6 of `plctime' is one precision at (2) but is some other 
precision at (1) [info -f g77 M GLOBALS]
C:\users\hazen\plplot_build\examples\f77\x29f.f:277: warning:
                call plctime(1950,0,2,0,0,0.,xmin)
                     1
C:\users\hazen\plplot_build\examples\f77\x29f.f:321: (continued):
                call plctime(2009,0,1,0,0,34.d0+5.d0,xmax)
                     2
Argument #6 of `plctime' is one precision at (2) but is some other 
precision at (1) [info -f g77 M GLOBALS]
C:\users\hazen\plplot_build\examples\f77\x29f.f:277: warning:
                call plctime(1950,0,2,0,0,0.,xmin)
                     1
C:\users\hazen\plplot_build\examples\f77\x29f.f:350: (continued):
                call plctime(utc_year, utc_month, utc_day, utc_hour,
                     2
Argument #6 of `plctime' is one precision at (2) but is some other 
precision at (1) [info -f g77 M GLOBALS]
Linking Fortran executable x29f.exe

-Hazen

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to