delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/03/17:58:19

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Originating-IP: [68.165.4.229]
X-Originating-Email: [rkitover AT hotmail DOT com]
X-Sender: rkitover AT hotmail DOT com
From: "Rafael Kitover" <rkitover AT hotmail DOT com>
To: "'Cygwin List'" <cygwin AT cygwin DOT com>
Subject: RE: <w32api/sql.h> broken?
Date: Wed, 3 Dec 2003 14:58:02 -0800
MIME-Version: 1.0
In-Reply-To: <6.0.1.1.0.20031203172521.03531e30@127.0.0.1>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <Law9-OE43WVzeFHfLQV00002105@hotmail.com>
X-OriginalArrivalTime: 03 Dec 2003 22:58:04.0903 (UTC) FILETIME=[E9022F70:01C3B9F0]

Also, the test program compiles just fine with visual studio.

If I'm doing something obviously wrong, would someone, out of the
kindness of their heart, please give me a tiny program or point me in
the direction of one that includes sql.h that compiles correctly in the
current cygwin.

This is for my libwin32 for cygwin perl project, just need to fix ODBC
and it will work again.

Much appreciated.

>-----Original Message-----
>From: Larry Hall [mailto:cygwin-lh AT cygwin DOT com]
>Sent: Wednesday, December 03, 2003 2:29 PM
>To: Rafael Kitover; cygwin AT cygwin DOT com
>Subject: Re: <w32api/sql.h> broken?
>
>At 05:04 PM 12/3/2003, Rafael Kitover you wrote:
>>Greetings,
>>
>>Using the latest packages from cygwin, and gcc 3.3.1, and I checked
>that
>>sql.h/sqltypes.h are the same in the CVS tree, the following program:
>>
>>#include <windows.h>
>>#include <w32api/sql.h>
>>
>>int main() { return 0; }
>>
>>Compiled as "gcc try.cc -o try" fails with a bunch of errors like:
>>
>>In file included from try.cc:2:
>>/usr/include/w32api/sql.h:343: error: syntax error before `(' token
>>/usr/include/w32api/sql.h:344: error: syntax error before `(' token
>>..
>>
>
>
><snip>
>
>
>>Maybe my test case is too simple and I am forgetting to include
>
>                                                        ^^^^^^^^^
>
>Bingo!
>
>
>>something, (although that would have compiled at least a few months
>>earlier, AFAIK) or something else is broken, but I couldn't yet figure
>>it out.
>>
>>TIA!

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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