Yes, I have a patch in the queue to fix it. Should be applied soon.
---------------------------------------------------------------------------
Yannick wrote:
> Hi,
>
> I am trying to compile libpq with vc8. I got errors in wchar.c
>
> ..\..\backend\utils\mb\wchar.c(99) : error C2054: expected '(' to follow
> 'inline'
> ..\..\backend\utils\mb\wchar.c(100) : error C2085: 'pg_euc_mblen' : not
> in formal parameter list
> ..\..\backend\utils\mb\wchar.c(100) : error C2143: syntax error :
> missing ';' before '{'
>
>
> If I remove the "inline", I got an error in:
>
> [...]postgresql-8.1.4\src\include\utils/elog.h(105) : error C2365:
> 'errcode' : redefinition; previous definition was 'typedef'
>
> Does anyone already compiled libpq with vc8?
>
> Yannick.
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>
-- Bruce Momjian http://candle.pha.pa.us EnterpriseDB http://www.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +