public inbox for fortran@gcc.gnu.org
 help / color / mirror / Atom feed
From: Arjen Markus <arjen.markus895@gmail.com>
To: Vicini Alessandro <alessandro.vicini@sitael.com>
Cc: fortran <fortran@gcc.gnu.org>
Subject: Re: Help with fortran standards
Date: Fri, 19 Feb 2021 09:52:25 +0100	[thread overview]
Message-ID: <CAMCbSMqmvKgeWQJ7ZWnR8jjKxewEx630RYesh1E=KM85-m9RSg@mail.gmail.com> (raw)
In-Reply-To: <AM6PR08MB3799BB84A640B7012EBD195391849@AM6PR08MB3799.eurprd08.prod.outlook.com>

Hello Allessandro,

these are fairly general questions, whereas this list is meant for specific
questions on the gfortran compiler. You can post these on the Fortran
newsgroup comp.lang.fortran or on the Discourse group at
https://fortran-lang.discourse.group/.

However, here is my reply:

   - Compaq Visual Fortran has been out of support for several decades. You
   can use the Intel oneAPI suite as an alternative
   - CVF may have supported the Fortran 95 standard (I do not quite know
   the details), but procedure pointers are a thing of Fortran 2003. So it is
   very unlikely CVF will ever be able to compile your program

Regards,

Arjen


Op vr 19 feb. 2021 om 09:47 schreef Vicini Alessandro via Fortran <
fortran@gcc.gnu.org>:

>
> Hello, I'm not sure this is the right group for this request, but I hope I
> can get some help.
> I have a module like the one you can see below, which I use so that I can
> pass subroutines names as arguments in procedure calls. I've been using
> this kind of modules under linux with gfortran (version 8). Now, under
> windows with Compaq Visual Fortran 6.6 (which should comply at least to the
> fortran95 standards), this same module does not compile... Is this because
> it is based on more recent fortran features? In this case, how would it be
> possible to do this with fortran 95? Thank you very much for your
> attention...
>
> A.
>
>          Module Selection_type
>
>             Type :: Selection_procedure_type
>                Procedure(Select_interface), Pointer, Nopass :: item =>
> null()
>             End Type Selection_procedure_type
>
>             Abstract Interface
>                Subroutine Select_interface(arg1,arg2)
>                     Integer :: arg1
>                     Integer :: arg2(2)
>                End Subroutine Select_interface
>             End Interface
>
>          End Module Selection_Type
>

  reply	other threads:[~2021-02-19  8:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-19  8:40 Vicini Alessandro
2021-02-19  8:52 ` Arjen Markus [this message]
2021-02-19  9:08   ` R: " Vicini Alessandro
2021-02-19  9:11     ` Arjen Markus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAMCbSMqmvKgeWQJ7ZWnR8jjKxewEx630RYesh1E=KM85-m9RSg@mail.gmail.com' \
    --to=arjen.markus895@gmail.com \
    --cc=alessandro.vicini@sitael.com \
    --cc=fortran@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).