On 2013-10-30 07:41-0000 Arjen Markus wrote:

> Hi Alan, James,
>
>> -----Original Message-----
>> From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca]
>>
>> Of course, the important question s why we support two styles in that sed 
>> script?  I
>> am sure we did that deliberately with the motivation of wanting to support a 
>> wide
>> range of Fortran compilers.  In other words we were worried that some of 
>> them might
>> complain about
>>
>> integer, parameter :: PL_FCI_SANS = z'0'
>>
> ...
>>
>> @Arjen: are we being too cautious here?  I note from
>> http://gcc.gnu.org/wiki/Fortran2003 that gfortran already has almost 
>> complete support
>> for Fortran 2003 (and certainly the general BOZ support), and I wonder if 
>> other
>> fortran compilers are typically also compliant with Fortran 2003, at least 
>> to the extent
>> of general support for integer parameter style above for BOZ constants?
>>
>
> I just checked the overview regularly provided by the ACS Fortran Forum about 
> the
> support for the features in the various standards by 11 different Fortran 
> compilers and
> binary, octal and hexadecimal constants have been supported for quite some 
> time now
> by these compilers. While I am not entirely sure this entry extends to the 
> use in PARAMETER
> statements, I think we can safely assume that this is the case.
>
> My suggestion therefore is that we adjust the code and use the "integer, 
> parameter" form
> exclusively.

I have made (revision 12640) that change to the svn trunk version of
PLplot (what will become the next release of PLplot).  Thanks, Arjen,
for your expert Fortran guidance about the best thing to do here. 
More on the PLplot devel list about other implications of this
change.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to