From @gk @end|ng |rom troutm@@k@@p|@w@@h|ngton@edu  Sun May 12 04:17:20 2019
From: @gk @end|ng |rom troutm@@k@@p|@w@@h|ngton@edu (Steve Kargl)
Date: Sat, 11 May 2019 19:17:20 -0700
Subject: [Rd] R problems with lapack with gfortran
In-Reply-To: <a57aaa3e-e2fb-96e3-0ba1-c7be2a138b3e@netcologne.de>
References: <ff60d7f9-e54d-473a-bc85-7989abc887da@tkoenig.net>
 <b24b0ef5-1f45-1a03-4153-f335e4f1f8a5@gmail.com>
 <2e68f333-1d10-02d4-3560-4b1b9d773a52@tkoenig.net>
 <6E812A6F-91B2-4412-A536-2CD672C5F4BA@xs4all.nl>
 <D521C66E-D67E-4C17-98EF-D651026561ED@gmail.com>
 <79689a6a-077c-019a-d16a-597d7b60199d@tkoenig.net>
 <20190504164903.GB15478@troutmask.apl.washington.edu>
 <1bd74386-737b-724a-f27b-73a790d1cea7@tkoenig.net>
 <a57aaa3e-e2fb-96e3-0ba1-c7be2a138b3e@netcologne.de>
Message-ID: <20190512021720.GA12287@troutmask.apl.washington.edu>

On Sat, May 11, 2019 at 05:04:06PM +0200, Thomas Koenig wrote:
> 
> gfortran trunk and 9-branch now have an option to automatically
> generate C prototypes for old-style F77 procedures.  I just did
> 
> for a in *.f; do gfortran -fsyntax-only -fc-prototypes-external $a > 
> ${a%.f}.h; done
> 
> in the src/modules/lapack directory.  This generates header
> files which contain prototypes like
> 
> int ilaenv_ (int *ispec, char *name, char *opts, int *n1, int *n2, int 
> *n3, int *n4, size_t name_len, size_t opts_len);

Any chance that this can be created without the parameter names?

For example,

int ilaenv_ (int *, char *, char *, int *, int *, int *, int *,
	size_t , size_t );

For bonus points, a tab on continuation lines would be nice.

-- 
Steve



[Rd] R problems with lapack with gfortran
Steve Kargl