Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: axp-list@redhat.com
Subject: Re: Wierd Compilation error in RH6.0
Date: Sun, 5 Sep 1999 09:03:00 -0600 (MDT)	[thread overview]
Message-ID: <199909051503.JAA19673@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <199909050407.AAA16165@ring.cis.ohio-state.edu> from "vilayannur r sitaraman" at Sep 5, 99 00:07:53 am

> 	The line in the code that the compiler dosent like is 
> 
> 	static FILE *log_to = stderr;
> 
> The error message is,
> 	diag.c:34: initializer element not constant. This does not happen with RH5.0. Can anything be done about this.

(Could you, please, wrap your lines?  This is an elementary courtesy
in any decent company.)

Sure it can be done.
       
        static FILE *log_to;
        .....
        log_to = stderr;

You have either new headers where 'stderr' is defined in a different
way that it used to be (it is not a constant anymore) or a compiler
which is stricter in following standard rules.

  Michal


  parent reply	other threads:[~1999-09-05 15:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-05  4:07 Wierd Compilation error in RH6.0 vilayannur r sitaraman
1999-09-05  6:10 ` Richard Henderson
1999-09-05  7:30   ` vilayannur r sitaraman
1999-09-05 15:03 ` Michal Jaegermann [this message]
1999-09-05 20:46   ` vilayannur r sitaraman
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox