home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.fortran      Putting John Backus on a giant pedestal      5,127 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 4,830 of 5,127   
   Lynn McGuire to All   
   I am getting a strange error when compil   
   11 Nov 24 16:35:34   
   
   From: lynnmcguire5@gmail.com   
      
   I am getting a strange error when compiling abcpar.f in gfortran:   
      
      
   Compiling .\CHM\VALIEQ\abcpar.f   
   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   
   - - - -   
   dii.inc:30:10:   
   Error: 'abcpar' of module 'aaa_modules', imported at (1), is also the   
   name of the current program unit   
   Error: Last command making (build\abcpar.o) returned a bad status   
   Error: Make execution terminated   
   * Failed *   
      
      
   C     aaa_modules.f   
   C  list of interfaces in a module for CHM / DII code compiling   
          MODULE aaa_modules   
              implicit none   
              INTERFACE   
                SUBROUTINE ABCPAR(ISW,IRETST,IR,IC,PAR,IPHASE)   
                  INTEGER(KIND=8) :: ISW   
                  INTEGER(KIND=8) :: IRETST   
                  INTEGER(KIND=8) :: IR   
                  INTEGER(KIND=8) :: IC   
                  REAL(KIND=8) :: PAR   
                  INTEGER(KIND=8) :: IPHASE   
                END SUBROUTINE ABCPAR   
              END INTERFACE   
   ...   
          END MODULE aaa_modules   
      
      
          SUBROUTINE ABCPAR (ISW, IRETST, IR, IC, PAR, IPHASE)   
          INCLUDE 'dii.inc'   
   ...   
          return   
          end   
      
      
   C  dii.inc   
          use aaa_modules   
   C        force all variables to be declared   
          implicit none   
      
      
   Thanks,   
   Lynn McGuire   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca