Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 , "CYGWIN (E-mail)" From: "Larry Hall (RFK Partners, Inc)" Subject: Re: [Beginner] Parsing errors compiling headers In-Reply-To: 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 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