This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: dll ver:1.1.8: sqltypes.h bug ( win-98) --- help!


You are missing
#include <windows.h>

Rob

----- Original Message -----
From: "M.Manikandan" <mani@comneti.com>
To: <cygwin@cygwin.com>
Sent: Thursday, April 19, 2001 7:30 PM
Subject: dll ver:1.1.8: sqltypes.h bug ( win-98) --- help!


> Hi,
>
>     While compiling a c program ( in win-98 platform) using gcc, i got
the
> following error message.
>     my  C program will just connect to a database & display success
message
> if connected successfully.
>
>
>
> "
> In file included from /usr/include/w32api/sql.h:9,
>                  from get.c:1:
> /usr/include/w32api/sqltypes.h:14: parse error before `UDWORD'
> /usr/include/w32api/sqltypes.h:14: warning: data definition has no
type or
> stora
> ge class
> /usr/include/w32api/sqltypes.h:15: parse error before `UWORD'
> /usr/include/w32api/sqltypes.h:15: warning: data definition has no
type or
> stora
> ge class
> /usr/include/w32api/sqltypes.h:21: parse error before `PTR'
> /usr/include/w32api/sqltypes.h:21: warning: data definition has no
type or
> stora
> ge class
> /usr/include/w32api/sqltypes.h:22: parse error before `HENV'
> /usr/include/w32api/sqltypes.h:22: warning: data definition has no
type or
> stora
> ge class
> /usr/include/w32api/sqltypes.h:23: parse error before `HDBC'
> /usr/include/w32api/sqltypes.h:23: warning: data definition has no
type or
> stora
> ge class
> /usr/include/w32api/sqltypes.h:24: parse error before `HSTMT'
> /usr/include/w32api/sqltypes.h:24: warning: data definition has no
type or
> stora
> ge class
> .........
> ......."
>     i also enclosed cygcheck command's output & my c code   for  your
> reference.
>
> Thanks in advance,
> Regards,
> manikandan.m
>
>


------------------------------------------------------------------------
--------


> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]