This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Non-functional compiler under SGI Irix
- From: Daniel Franke <franke dot daniel at gmail dot com>
- To: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- Cc: fortran at gcc dot gnu dot org, Philippe Schaffnit <P dot Schaffnit at access dot rwth-aachen dot de>
- Date: Wed, 20 Dec 2006 20:14:45 +0100
- Subject: Re: Non-functional compiler under SGI Irix
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=rFcljlE1JfCYuac+M/apOaJ6gyHjFIfnOBnWpoGbBHC372uDJ2oPGGxGxns/nxIlIidPiyyA4TNPj+hAtgT++G+020g/7vmvCsQlBM5wAoErdAoxbPQJD95WpOAgQBsz65yKjRgXVQDh5Gvo4jBRcAJPoGtwFfRVkHqrLbpferc=
- References: <4587D4A2.BE3B759@access.rwth-aachen.de> <20061220153027.GB49432@troutmask.apl.washington.edu> <200612202013.08218.franke.daniel@gmail.com>
On Wednesday 20 December 2006 16:30, Steve Kargl wrote:
> On Wed, Dec 20, 2006 at 08:55:48AM +0100, Philippe Schaffnit wrote:
> > Does it say anything to anyone?
>
> Yes. It says that Irix's header files are screwed up.
>
> > /USER/philippe/Irix/Gcc_Sources/libgfortran/fmain.c:2:
> > /usr/include/complex.h:178: error: conflicting types for 'cabsl'
> > /USER/philippe/Irix/Compilation/Temp/./gcc/include/math.h:537: error:
> > previous declaration of 'cabsl' was here
>
> Why is cabsl in math.h? I believe it should be in complex.h.
From fixincludes/inclhack.def:1020-1028:
/*
* Remove `extern double cabs' declarations from math.h.
* This conflicts with C99. Discovered on AIX.
* IRIX 5 and IRIX 6 before 6.5.18 (where C99 support was introduced)
* declares cabs() to take a struct __cabs_s argument.
* SunOS4 has its cabs() declaration followed by a comment which
* terminates on the following line.
* Darwin hides its broken cabs in architecture-specific subdirs.
*/
There's nothing about `cabsl` in that file ...
Regards
Daniel