www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/05/10/00:31:58

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
X-Lotus-FromDomain: ISIS ASSOCIATES
From: "Michael K Collison" <Michael_K_Collison AT iassoc DOT ultranet DOT com>
To: cygwin AT sourceware DOT cygnus DOT com
Message-ID: <8525676D.00183628.00@osiris.iassoc.ultranet.com>
Date: Mon, 10 May 1999 00:29:51 -0400
Subject: Problem with 'stdin'
Mime-Version: 1.0



I'm trying to port a Unix app. to cygwin. In the program the following
statement appears (outside of a function):

FILE *p = stdin.

I'm getting an error from gcc that says: 'initializer element is not a
constant. I thought this was legal C code. Am I missing something?

Mike



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019