Orion Poplawski wrote:
#2  0x0000000010001e84 in x23f ()
     at /builddir/build/BUILD/plplot-5.9.2/fedora/examples/f77/x23f.f:326
326            call plsfci(0)


This is clearly wrong. plsfci takes a 64-bit integer. The attached patch fixes. The x23f.f90 example uses "0_plunicode" to specify the type. I don't know if "PL_INT_0" is the best name, but it shows the general solution.

--
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  or...@cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com
--- plplot-5.9.2/examples/f77/x23f.fm4.f77	2009-01-18 13:24:12.000000000 -0700
+++ plplot-5.9.2/examples/f77/x23f.fm4	2009-02-12 08:17:36.000000000 -0700
@@ -41,6 +41,8 @@
 
       integer PL_PARSE_FULL
       parameter(PL_PARSE_FULL = 1)
+      integer*8 PL_INT_0
+      parameter(PL_INT_0 = 0)
 
 C
 C  Displays Greek letters and mathematically interesting Unicode ranges
@@ -323,7 +325,7 @@
        call pladv(0)
        call plvpor(0.02d0, 0.98d0, 0.02d0, 0.90d0)
        call plwind(0.0d0, 1.0d0, 0.0d0, 1.0d0)
-       call plsfci(0)
+       call plsfci(PL_INT_0)
        if (page == 11) then
 	  call plmtex('t', 1.5d0, 0.5d0, 0.5d0,
      &         '#<0x10>PLplot Example 23 - '//
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to