Hello,

I tried building the PLplot library with the NAG Fortran compiler and noticed 
something unusual in the Fortran code. In plplot_types.f90 the kind constants 
are declared as:



   integer, parameter :: plint  = 4

   integer, parameter :: plunicode  = 4



These are not portable and neither are part of the standard. To make it 
portable and adhere to the Fortran standard, use:



  integer, parameter :: plint = selected_int_kind(9)

  integer, parameter :: plunicode = selected_int_kind(9)



Or even better:



  use, intrinsic :: iso_fortran_env



  integer, parameter :: plint = INT32

  integer, parameter :: plunicode = INT32



Best regards,
Wadud.

-----------------------------------
Dr. Wadud Miah
Computational Scientist
Numerical Algorithms Group
01865 518035


________________________________

The Numerical Algorithms Group Ltd is a company registered in England and Wales 
with company number 1249803. The registered office is:

Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.



This e-mail has been scanned for all viruses by Microsoft Office 365.

________________________________
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to