Re: FoX - an XML toolkit for Fortran



On Mar 28, 9:07 pm, Reinhold Bader <Ba...@xxxxxx> wrote:
Toby schrieb:> I'd like to present FoX; a standards-compliant XML toolkit written
purely in Fortran 95.

[snip]

In contradiction tohttp://uszla.me.uk/space/software/FoX/compat/, the
Intel 10.1 compiler on x86_64 (I tried 10.1.008 as well as 10.1.013) fails
to build the package.

The first error is

ifort -c -g -fpp -I../objs/finclude -DFC_HAVE_FLUSH -DFC_HAVE_ABORT -DFC_ABORT_ARG -DFC_EOR_LF -DRESTRICTED_ASSOCIATED_BUG
m_common_attrs.F90
fortcom: Error: m_common_attrs.F90, line 284: This name does not have a type, and must have an explicit type.   [GET_KEY_INDEX]
     character(len=size(dict%list(get_key_index(dict,key))%d%value)) :: value

My (tentative) opinion is that there is indeed a bug in ifort.

Thanks for this. It is a bug in ifort, but it masked a couple of other
bugs in FoX which ifort picked up.

In any case, I've rewritten the code to work around ifort's bug, and
checked it with Reinhard. The result is an updated version of FoX
(4.0.1), available as before from http://www.uszla.me.uk/FoX/source/

--
Dr. Toby O. H. White
Dept. Earth Sciences,
Downing Street,
Cambridge CB2 3EQ
United Kingdom

Web: http://uszla.me.uk

.



Relevant Pages

  • Re: distance between points on the earth
    ... So is it a bug in ifort or a feature in gfortran? ... You also don't encounter bugs where the compiler misses ...
    (comp.lang.fortran)
  • Re: Optional arguments; standard unclear
    ... it's not a bug in ifort. ... where gfort may mean g95 or gfortran. ... I also have another compiler that fails like the OP's. ...
    (comp.lang.fortran)
  • Re: Optional arguments; standard unclear
    ... it's not a bug in ifort. ... where gfort may mean g95 or gfortran. ... Since it fooled compiler writers, ...
    (comp.lang.fortran)
  • Re: My two cents on Intel Visual Fortran versus ...
    ... it may mean you didn't take care to upgrade to a current ... > version of ifort. ... There was a bug like that not long ago. ...
    (comp.lang.fortran)
  • Re: Do you have a Knowledge Officer?
    ... expressing my opinion or my experience" and seems to expect us to "infer" ... Weasel words are almost always intended to deceive or draw attention from ... But the integration work is huge. ... is actually the opposite - it means that you have an intermittent bug ...
    (comp.lang.cobol)