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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED]
Re: [Beginner] Parsing errors compiling headers
Larry Hall (RFK Partners, Inc) Wed, 25 Oct 2000 11:47:41 -0700
- [Beginner] Parsing errors compiling headers Paulius Bulotas
- Re: [Beginner] Parsing errors compilin... Larry Hall (RFK Partners, Inc)
- Re: [Beginner] Parsing errors compilin... Ed Bradford/Raleigh/IBM
- Re: [Beginner] Parsing errors comp... Matt Minnis
- Re: [Beginner] Parsing errors compilin... Ed Bradford/Raleigh/IBM
- New GCC test release available Christopher Faylor
- RE: [Beginner] Parsing errors compilin... Robinow, David
- RE: [Beginner] Parsing errors compilin... Ed Bradford/Raleigh/IBM