From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d587466310393853 X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: importing fortran routines to GNAT Date: 1997/02/21 Message-ID: #1/1 X-Deja-AN: 220403040 References: <330DBC84.219B@msslac.mssl.ucl.ac.uk> Organization: New York University Newsgroups: comp.lang.ada Date: 1997-02-21T00:00:00+00:00 List-Id: Pasi asks <> A couple of points. You are using some old version of GNAT but you did not say on what machine. This is critical information. The current version of GNAT is 3.10, and the current publically available version is 3.09 (you mentioned 3.05). This may or may not be relevant to your problem, because we still don't know what machine you are using. In any case, this certainly seems like a bug in GNAT, what you wrote looks perfectly correct. So if this problem persists using the latest version of GNAT, you should send along a bug report to report@gnat.com. Be sure to specify what machine you are using and what operating system (there are many ports of GNAT). That last request is something that everyone should pay attention to. When reporting problems with GNAT it is very important to not only give the version number, but also to state the machine and operating system, since there are now over 30 versions of GNAT, and though for the most part you will get identical results, there are cases of bugs which show up only on one version and not another. Since the problem here is with the naming of external symbols when done by default, it is clearly system dependent (you could obviously fix your problem by using a third parameter to the pragma Import that gave the proper external name, but it shuld be chosen by default). Finally, for general questions on GNAT, consider using the gnat chat mailing list instead of, or at least in addition to, comp.lang.ada. There are many knowledgable users of GNAT who can sometimes provide useful informal help for those who do not have support from Ada Core Technologies. TO subscribe to this list, send a subscribe message to chat-request@gnat.com.