From: Wadud M. <wad...@na...> - 2016-04-26 15:22:21
|
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. ________________________________ |