[Fwd: failure notice]

Toon Moene toon@moene.indiv.nluug.nl
Fri Nov 3 11:48:00 GMT 2000


Sorry, again ...

-- 
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://g95.sourceforge.net/ (under construction)


To : toon at moene dot indiv dot nluug dot nl
Subject : failure notice
>From : MAILER-DAEMON at sourceware dot cygnus dot com
Date : 1 Nov 2000 22:23:51 -0000

Hi. This is the qmail-send program at sourceware.cygnus.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<bug-gcc@gcc.gnu.org>:
/  Mail note rejected:  List address must be in To: or Cc: headers.


--- Below this line is a copy of the message.

Return-Path: <toon@moene.indiv.nluug.nl>
Received: (qmail 3553 invoked from network); 1 Nov 2000 22:23:49 -0000
Received: from mail.moene.indiv.nluug.nl (HELO moene.indiv.nluug.nl) (mail@195.109.255.217)
  by sourceware.cygnus.com with SMTP; 1 Nov 2000 22:23:49 -0000
Received: from localhost (moene.indiv.nluug.nl) [127.0.0.1] (toon)
	by moene.indiv.nluug.nl with esmtp (Exim 2.05 #1 (Debian))
	id 13r6Dn-0007tJ-00; Wed, 1 Nov 2000 23:19:03 +0100
Sender: toon
Message-ID: <3A0096D6.C6D55A67@moene.indiv.nluug.nl>
Date: Wed, 01 Nov 2000 23:19:02 +0100
From: Toon Moene <toon@moene.indiv.nluug.nl>
Organization: Moene Computational Physics, Maartensdijk, The Netherlands
X-Mailer: Mozilla 4.07 [en] (X11; I; Linux 2.2.12 i686)
MIME-Version: 1.0
To: peres@evunix.uevora.pt
CC: bug-gcc@gcc.gnu.org
Subject: Re: bug?
References: < 3A007DF0.3BD23343@evunix.uevora.pt >
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

root wrote:

> This very simple FORTRAN codes does not compile.
> What is the problem? The error message is below
> 
> CODE:
>        program teste
>       implicit none
>       real*8 q
>       parameter (q=4.d0*datan(1.d0))
>       print*, q
>       end
> 
> COMPILER ERROR MESSAGE:
> 
> [root@borboleta nuno]# g77 teste.f
> teste.f: In program `teste':
> teste.f:4:
>          parameter (q=4.d0*datan(1.d0))
>                            ^
> Invalid declaration of or reference to symbol `datan' at (^) [initially
> seen at (^)]

Yep - strictly speaking, use of these intrinsics in PARAMETER statements
is not supported by the Standard.  Lots of existing Fortran 77
implementations do support them though - unfortunately, g77 is not one
of them.

> ------------------------------------------------------------------
> If I write the code has follows it compiles, but I still get a strange
> message. (see below)
> 
> CODE:
>       program teste
>       implicit none
>       real*8 q
>       q=4.d0*datan(1.d0)
>       print*, q
>       end
> 
> COMPILER  MESSAGE:
> root@borboleta nuno]# g77 teste.f
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/libg2c.a(open.o): In function
> `f_open':
> open.o(.text+0x4e6): the use of `tempnam' is dangerous, better use
> `mkstemp'

Known also - this is a problem I still have to fix.

Hope this helps,

-- 
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://g95.sourceforge.net/ (under construction)



More information about the Gcc-bugs mailing list