delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/12/05:59:58

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <20050512095949.87139.qmail@web50810.mail.yahoo.com>
Date: Thu, 12 May 2005 02:59:49 -0700 (PDT)
From: Marcel <kak343 AT yahoo DOT com>
Subject: gcc + cygwin
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

I've been using a particular set of C-code for years
on several systems (mostly linux on PC, or Unix on
some Sun) and could always get it to work when I moved
to a new machine.

Now, I'm trying to get it to work on a PC with cygwin.

cygcheck claims I have gcc version 3.3.3-3 OK.

I am NOT an experienced C or cygwin user, but the
problems I keep running into, appear to me that gcc
with cygwin behaves very differently from whatever I
had on the previous systems.

gcc -g -Wall -c flm.c
flm.c:37: error: initializer element is not constant
make: *** [flm.o] Error 1

The offending line.37 was:
FILE *ch_par=stdout,*ch_verify=NULL;

In my ignorance, I have to assume that gcc/cygwin is
not compatible with other gcc implementations. Can
that
be? Or could I have a botched installation of
cygwin+gcc?

I'd appreciate any guidance!

Norbert Nemes




		
Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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