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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,ad3c596787de3f26,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed-00.mathworks.com!oleane.net!oleane!ciril.fr!news.ujf-grenoble.fr!news.grenet.fr!not-for-mail From: Steve Sangwine Newsgroups: comp.lang.ada Subject: Interfacing Gnat to Fortran Complex*16 Date: Mon, 10 Jan 2005 15:29:38 +0100 Organization: Laboratoire des Images et des Signaux Message-ID: Reply-To: s.sangwine@ieee.org NNTP-Posting-Host: dhcp-invite4.lis.inpg.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.grenet.fr 1105367382 27116 195.220.21.63 (10 Jan 2005 14:29:42 GMT) X-Complaints-To: newsmaster@grenet.fr NNTP-Posting-Date: Mon, 10 Jan 2005 14:29:42 +0000 (UTC) X-Newsreader: Forte Free Agent 2.0/32.652 Xref: g2news1.google.com comp.lang.ada:7609 Date: 2005-01-10T15:29:38+01:00 List-Id: Has anyone tried and succeeded in interfacing Ada code compiled with Gnat (gcc 3.4.2 version) to Fortran code, passing double precision complex arrays to the Fortran code (Complex*16)? Background: the LRM Annex B specifies only single precision complex in Interfaces.Fortran, and I have code for which this works (I am interfacing to the LAPACK numerical library). LAPACK contains a double precision version of the routine I am using and I would like to interface to it. Problem: although the single precision routine works fine, the double precision code goes into an apparently infinite loop. Steve Sangwine University of Essex, UK.