delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/19/06:01:58

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: <00bb01c0c8b7$a993f3f0$0200a8c0@lifelesswks>
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: <cygwin AT cygwin DOT com>
References: <008901c0c8b3$63fb7920$b77a6f87 AT comneti DOT com>
Subject: Re: dll ver:1.1.8: sqltypes.h bug ( win-98) --- help!
Date: Thu, 19 Apr 2001 20:01:09 +1000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
X-OriginalArrivalTime: 19 Apr 2001 09:53:40.0134 (UTC) FILETIME=[9C7BDC60:01C0C8B6]

You are missing
#include <windows.h>

Rob

----- Original Message -----
From: "M.Manikandan" <mani AT comneti DOT com>
To: <cygwin AT cygwin DOT 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

- Raw text -


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