home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / fortran / 4860 < prev    next >
Encoding:
Internet Message Format  |  1992-12-30  |  1.3 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!rutgers!news.cs.indiana.edu!arizona.edu!osprey.telcom.arizona.edu!doug
  2. From: doug@osprey.telcom.arizona.edu (Doug Wellington USGS)
  3. Newsgroups: comp.lang.fortran
  4. Subject: Common block problem with MS-FORTRAN
  5. Keywords: segment boundaries common block
  6. Message-ID: <29DEC199220562573@osprey.telcom.arizona.edu>
  7. Date: 30 Dec 92 03:56:00 GMT
  8. Distribution: world,local
  9. Organization: University of Arizona Telecommunications
  10. Lines: 17
  11. Nntp-Posting-Host: osprey.telcom.arizona.edu
  12. News-Software: VAX/VMS VNEWS 1.41
  13.  
  14. I am trying to convert a program from UNIX to MS-DOS.  The program
  15. compiles fine on a SPARC 1+, but I can't get it to compile on a 486
  16. DOS box using Microsoft FORTRAN 4.01 or 5.0.  I get the same message
  17. with either one:
  18.  
  19. actrep.for(21) : error F2379: DESCRI : item in common block crosses segment
  20. actrep.for(333) : error F2379: DESCRI : item in common block crosses segment
  21.  
  22. I have looked in the manual, but the only thing I could come up with was:
  23. "Placing all character variables at the end of a common block can make it
  24. easier to avoid these conflicts."  Geez!  They ARE characters.
  25.  
  26. I have the large libraries installed, and have even tried compiling with
  27. the /AH flag (Huge model) with the same result.  What am I overlooking?
  28.  
  29. Thanks for any help.
  30. -Doug
  31.