home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.fortran
- Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!uimrl7.mrl.uiuc.edu!ercolessi
- From: ercolessi@uimrl3.mrl.uiuc.edu (furio ercolessi)
- Subject: RE: Common block problem with MS-FORTRAN
- References: <29DEC199220562573@osprey.telcom.arizona.edu> <30DEC92.22452124@edison.usask.ca>
- Message-ID: <C03ozD.DwI@news.cso.uiuc.edu>
- Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
- Reply-To: ercolessi@uimrl3.mrl.uiuc.edu (furio ercolessi)
- Organization: MRL - UIUC
- Date: Thu, 31 Dec 1992 01:47:36 GMT
- Lines: 28
-
- In article <30DEC92.22452124@edison.usask.ca>, f54oguocha@edison.usask.ca writes:
- |>
- |>>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
- |>>... What am I overlooking?
- |>>
- |>>Thanks for any help.
- |>>-Doug
-
- |>one possible source of this type of error is the length of the continuation
- |>line you inherited from your former program.
-
- Rather, I guess that the original poster is hitting against some compiler
- limit related with 80x86 architectures. A "segment" is 64 kbytes in
- these machines. Having a common block within a segment clearly
- makes addresses generation more efficient.
-
- I never used 80x86s for Fortran work and cannot be of help: sorry!
- I can only suggest to browse through all the compiler's options ...
-
- --
- Furio Ercolessi
- Materials Research Laboratory | Intl School for Advanced Studies
- Univ. of Illinois at Urbana-Champaign | Trieste, Italy
- furio@uiuc.edu | furio@sissa.it
-