[comp.lang.fortran] Summary f2c table limit overflow

emmerik@utrcu1.UUCP (Emmerik P.J.L. van) (01/30/91)

In article <785@utrcu1.UUCP>, emmerik@utrcu1.UUCP (Emmerik P.J.L. van) writes:
> 
> Using f2c, i have the following problem:
> 
>   $ f2c tesfil.f
>   testfil.f:
>       testfil:
>    Compile error line 13 of ../include/paramdefs.ii0: Too many names.
>    Table limit now 401.
>    Try recompiling using the -Nn802 option
> 
> I am using f2c version 27 june 1990, created on an APOLLO using
> Domain/OS Version 10.1.
> 
> Questions:
>  - where does the error message come from ? (f2c, LEX, YACC, ...)?
>  - how do i solve this problem ????

Most answers told me just to add a -Nn802 option to the command as
suggested in the message (-Nn802 being an undocumented f2c option).

The reason this was not obvious to me (in fact i tryed it) is that i
used the f2c sources created on an Apollo system (the sources include a
YACC file) compiled an runned them on a VAX/VMS system.
Becouse VAX/VMS systems do not handle upper and lowercase characters the
way UNIX systems do, f2c did not get the message.
Fiddeling a bit the following worked:
  f2c:==$f2c.exe
  f2c "-Nn802" filename

  f2c -Nn802 filename
results in the message:
  Error on line 0: Invalid flag '-nn802'

-- 
Pieter van Emmerik                    | Phone:  +31-74-483059
Hollandse Signaalapparaten b.v.       | FAX:    +31-74-425936
P.O.box 42                            | E-mail: emmerik@utwente.nl
7550 GD  Hengelo, The Netherlands     |         hp4nl!utrcu1!emmerik