Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-Id: <4.3.1.2.20001025144443.00b7bea0@pop.ma.ultranet.com>
X-Sender: lhall@pop.ma.ultranet.com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.1
Date: Wed, 25 Oct 2000 14:45:59 -0400
To: Paulius Bulotas <Paulius@CSDL.LT>,
        "CYGWIN (E-mail)" <cygwin@sourceware.cygnus.com>
From: "Larry Hall (RFK Partners, Inc)" <lhall@rfk.com>
Subject: Re: [Beginner] Parsing errors compiling headers
In-Reply-To: <A8CC71AF139ED411A4B9006094B912F6040367@HERA>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"

At 02:19 PM 10/25/2000, Paulius Bulotas wrote:
>Hello,
>
>just starting to remember hot to use old good C and tried to compile one
>program (own), using Microsofts supplied header files.
>But i just get a lot of warnings as this:
>//d/PROGRAMs/MSDASDK/INC/sqltypes.h:137: parse error before `SQLHWND'
>and so on and so on.
>everything was done from cmd.exe (not bash and cygwin),
>gcc cmdline: gcc -DWIN32 -I//d/PROGRAMS/MSDASDK/INC
>-L//d/PROGRAMS/MSDASDK/LIB/X86 -lodbc32 -c odbc.c -o odbc -mno-cygwin
>
>I think it's not first such case/question, but somebody help! please ;)
>TIA
>
>Regards,
>Paulius



These are most likely MSisms.  You'll need to alter these files to remove 
these "extensions" so that the files become standard.  Then gcc will compile
them without complaint...



Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

