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:[EMAIL PROTECTED] >Sent: Wednesday, December 03, 2003 2:29 PM >To: Rafael Kitover; [EMAIL PROTECTED] >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/