This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: [Beginner] Parsing errors compiling headers
- To: Paulius Bulotas <Paulius at CSDL dot LT>, "CYGWIN (E-mail)" <cygwin at sourceware dot cygnus dot com>
- Subject: Re: [Beginner] Parsing errors compiling headers
- From: "Larry Hall (RFK Partners, Inc)" <lhall at rfk dot com>
- Date: Wed, 25 Oct 2000 14:45:59 -0400
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