Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: "'Cygwin List'" Subject: RE: broken? Date: Wed, 3 Dec 2003 14:58:02 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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: 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: 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 >>#include >> >>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 >>.. >> > > > > > >>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/