Bugs item #3594568, was opened at 2012-12-10 10:18
Message generated for change (Tracker Item Submitted) made by sjtappin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102915&aid=3594568&group_id=2915

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: James Tappin (sjtappin)
Assigned to: Nobody/Anonymous (nobody)
Summary: F95 binding assumes INTEGER == int

Initial Comment:
In much of the F95 binding (and probably the F77 as well), integers are 
declared without a kind parameter. This will result in incorrect results for 
compilers where the C int type and the Fortran default integer are not of the 
same length (e.g. the 64-bit version of g95). 

strutil.f90 will not compile on such a system as the islen function is declared 
as integer*4 in one place and default integer in another.

I would suggest, defining a plint kind that is set to be equal to c_int from 
iso_c_binding for f95+. For f77 probably the only viable fix is to declare all 
integers to be integer*4.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102915&aid=3594568&group_id=2915

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to