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