delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/25/14:55:27

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

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 AT rfk DOT 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 AT sourceware DOT cygnus DOT com

- Raw text -


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