Newsgroups: comp.sys.alliant
Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!zaphod.mps.ohio-state.edu!maverick.ksu.ksu.edu!unmvax!uokmax!alliant.backbone.uoknor.edu!jay
From: jay@alliant.backbone.uoknor.edu (Jay Liang)
Subject: Re: compile errors with elm
Message-ID: <1990Aug6.160239.26488@uokmax.uucp>
Keywords: elm
Sender: news@uokmax.uucp (Nets)
Reply-To: jay@alliant.backbone.uoknor.edu
Organization: University of Oklahoma, Norman,OK 73019
References:  <537@al.ele.tue.nl> <1990Aug6.132421.29111@uokmax.uucp>
Date: Mon, 6 Aug 90 16:02:39 GMT


In article <1990Aug6.132421.29111@uokmax.uucp>,
jay@alliant.backbone.uoknor.edu (Jay Liang) writes:
|> 
|> In article <537@al.ele.tue.nl>, raymond@ele.tue.nl (Raymond Nijssen) writes:
|> |> 
|> |> ---------->8------------
|> |> 
|> |> Raymond X.T. Nijssen  / Don't speak if you  / Oh VMS, please
forgive me all
|> |> raymond@ele.tue.nl   / speak for yourself  / unfriendly things I said
|> about you
|> 
|> I had the same error messages when I install elm 2.3.pl5 on a FX/8
|> running 5.5.02 with Concentrix C V. 4.0.17 and gcc 1.37.1.  I
|> eventually used a workaround by changing /usr/include/machine/reg.h.
|> In its floatr typedef, I changed the following:
|> 
|> 	struct {
|> 		float F1;
|> 		float F2;
|> 	} f;
|> 
|> And completed the compilation.  I also sent in a bug report and a tape to
|> Alliant about 4 weeks ago but still haven't heard from them, yet.
|> 
|> Jay Liang (jay@alliant.backbone.uoknor.edu)
|> Geosciences Computing Network
|> University of Oklahoma
|> Norman, OK 73019

I suppose that I jumped the gun.  I just received a call from Alliant
technical support who pointed out that in elm/hdrs/defs.h there were
define statements for f1 to 1 and f2 to 2 which /lib/cpp took to
substitute the float definitions in /usr/include/machine/reg.h.  So
this is not a cpp bug but a coincidence.

Jay Liang (jay@alliant.backbone.uoknor.edu)
Geosciences Computing Network
University of Oklahoma
Norman, OK 73019
