Re: experimental Unicode support - Mailing list pgsql-odbc

From Jon Willeke
Subject Re: experimental Unicode support
Date
Msg-id 5.1.0.14.2.20040203092701.01cdeaa0@incoming.verizon.net
Whole thread Raw
In response to experimental Unicode support  (Jon Willeke <willeke@users.sourceforge.net>)
Responses Re: experimental Unicode support
List pgsql-odbc
I haven't looked at the code, yet, but I'm pretty sure I know the
problem.  I added the HAVE_ISWASCII condition to make win_unicode.c work
for Linux, which doesn't support this extension.  However, Windows uses a
different build system, so I need to guard it with HAVE_CONFIG, or
something like that.

I'll fix this and try to find a Windows build machine.

At 09:06 AM 2/3/2004 +0000, Dave Page wrote:
>I haven't tried this on a Unix system yet, but unfortunately it does
>break the Win32 Unicode build:
>
>Building the PostgreSQL Unicode 3.0 Driver for Win32...
>
>No configuration specified. Defaulting to Unicode30.
>
>         cl.exe /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D
>"_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PSQLODBC_EXPORTS" /D
>"ODBCVER=0x0300" /D UNICODE_SUPPORT" /D "DRIVER_CURSOR_IMPLEMENT" /D
>"WIN_MULTITHREAD_SUPPORT"  /Fp".\Unicode30\psqlodbc.pch" /YX
>/Fo".\Unicode30\\" /Fd".\Unicode30\\" /FD /c win_unicode.c
>win_unicode.c
>win_unicode.c(28) : error C2059: syntax error : 'type'
>NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
>Stop.


pgsql-odbc by date:

Previous
From: Jon Willeke
Date:
Subject: Re: where's the build environment for odbc
Next
From: Jon Willeke
Date:
Subject: Re: experimental Unicode support