Rafael wrote:
I just tried compiling:
#include windows.h
#include sql.h
int main() { return 0; }
with: gcc -mno-cygwin
and it worked fine. So it's a conflict with the cygwin headers
sqltypes.h somewhere, I'll try to figure it out.
Just received this patch for sql.h:
Rafael wrote:
I've thought about doing that, but mingw and Cygwin use the same w32api
headers, and mingw (aka gcc -mno-cygwin) does not understand
w32api/foo. However, this works:
--- sql.h 2003-12-08 04:20:17.328125000 -0800
+++ sql.h.new 2003-12-08 04:19:36.71875 -0800
@@ -10,7
Rafael,
On Thu, Dec 04, 2003 at 02:25:38AM -0800, Rafael Kitover wrote:
Looks like /usr/include/w32api/sql.h does an #include sqltypes.h,
which if you have postgresql installed, will read postgres's version
when building under cygwin.
Any chance the postgres /usr/include/sqltypes.h could be
Looks like /usr/include/w32api/sql.h does an #include sqltypes.h,
which if you have postgresql installed, will read postgres's version
when building under cygwin.
Any chance the postgres /usr/include/sqltypes.h could be moved to
/usr/include/postgresql/sqltypes.h or something along those lines?
I just tried compiling:
#include windows.h
#include sql.h
int main() { return 0; }
with: gcc -mno-cygwin
and it worked fine. So it's a conflict with the cygwin headers
sqltypes.h somewhere, I'll try to figure it out.
--
Rafael
--
Unsubscribe info:
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
.
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
7 matches
Mail list logo