Re: experimental Unicode support

From: Jon Willeke <willeke(at)users(dot)sourceforge(dot)net>
To: <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: experimental Unicode support
Date: 2004-02-03 14:33:53
Message-ID: 5.1.0.14.2.20040203092701.01cdeaa0@incoming.verizon.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Jon Willeke 2004-02-03 20:01:53 Re: experimental Unicode support
Previous Message Jon Willeke 2004-02-03 14:26:22 Re: where's the build environment for odbc