Re: Compile libpq with vc8

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Yannick <ybgn(at)free(dot)fr>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Compile libpq with vc8
Date: 2006-05-29 19:39:50
Message-ID: 200605291939.k4TJdo710750@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


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. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2006-05-29 20:09:18 type recv/send functions
Previous Message Yannick 2006-05-29 19:20:00 Compile libpq with vc8