delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/12/13/19:54:21

Date: 13-DEC-1994 18:06:19 +0100
From: TAUPIN AT rsovax DOT lps DOT u-psud DOT fr
Subj: Ms-Fort+f2c+gcc -> Segment Violation (:-()
To: djgpp AT sun DOT soe DOT clarkson DOT edu

Subject: Segment violation with GCC

As many people do, I got into troubles with Segment... Violation on a simple
program. The cause was simply that my C source file came from the f2c
converter, but it was a source for MS-Fortran.

And the awful problem is the Crimosoft Fortran has a GETARG subroutine
with THREE (not TWO) arguments. Then the f2c library routine GETARG
does not find the correct things and makes a mess...

---> Beware of MS-Fortran GETARG + f2c + gcc -----> <(:-()

D. Taupin


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019