main.o(.text+0x29e): undefined reference to `getarg_

Andrew Pinski pinskia@physics.uc.edu
Tue Feb 22 19:21:00 GMT 2005


On Feb 22, 2005, at 2:19 PM, Satish Balay wrote:

> BTW: command_argument_count() matches gcc-3.4 iargc() [i.e number of
> arguments] but current gfortran iargc() gives 'no-of-arguments + 1'
> [which is the way on c-side of things with argc/argv.

Actually that was just fixed a couple of days ago by:

2005-02-20  Steven G. Kargl  <kargls@comcast.net>

         PR 20085
         * intrinsic/args.c (iargc): Off by 1.

-- Pinski



More information about the Fortran mailing list