From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 30493 invoked from network); 5 Sep 1999 15:03:03 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 5 Sep 1999 15:03:03 -0000 Received: from ellpspace.math.ualberta.ca (michal@ellpspace.math.ualberta.ca [129.128.88.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id LAA15504 for ; Sun, 5 Sep 1999 11:03:03 -0400 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.8/8.8.8) id JAA19673 for axp-list@redhat.com; Sun, 5 Sep 1999 09:03:00 -0600 From: Michal Jaegermann Message-Id: <199909051503.JAA19673@ellpspace.math.ualberta.ca> Subject: Re: Wierd Compilation error in RH6.0 To: axp-list@redhat.com Date: Sun, 5 Sep 1999 09:03:00 -0600 (MDT) In-Reply-To: <199909050407.AAA16165@ring.cis.ohio-state.edu> from "vilayannur r sitaraman" at Sep 5, 99 00:07:53 am Content-Type: text > 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