Lists: | pgsql-hackers |
---|
From: | Jeff McKenna <jmckenna(at)dmsolutions(dot)ca> |
---|---|
To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Compile libpq with vc8 |
Date: | 2006-05-30 14:31:09 |
Message-ID: | 447C572D.7060406@dmsolutions.ca |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
When is this patch going to be applied? Is there a bug that I can
follow along?
thanks.
jeff
* From: Bruce Momjian <pgman ( at ) candle ( dot ) pha ( dot ) pa (
dot ) us>
* To: Yannick <ybgn ( at ) free ( dot ) fr>
* Subject: Re: Compile libpq with vc8
* Date: Mon, 29 May 2006 15:39:50 -0400 (EDT)
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.
>
From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Jeff McKenna <jmckenna(at)dmsolutions(dot)ca> |
Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Compile libpq with vc8 |
Date: | 2006-05-31 09:27:34 |
Message-ID: | 200605310927.k4V9RYR01351@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
It was applied 24-hours ago, and should be in CVS HEAD and the 8.1
stable branch.
---------------------------------------------------------------------------
Jeff McKenna wrote:
> When is this patch going to be applied? Is there a bug that I can
> follow along?
>
> thanks.
>
> jeff
>
>
>
>
> * From: Bruce Momjian <pgman ( at ) candle ( dot ) pha ( dot ) pa (
> dot ) us>
> * To: Yannick <ybgn ( at ) free ( dot ) fr>
> * Subject: Re: Compile libpq with vc8
> * Date: Mon, 29 May 2006 15:39:50 -0400 (EDT)
>
> 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 6: explain analyze is your friend
>
--
Bruce Momjian http://candle.pha.pa.us
EnterpriseDB http://www.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
From: | Yannick <ybgn(at)free(dot)fr> |
---|---|
To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Compile libpq with vc8 |
Date: | 2006-05-31 14:17:08 |
Message-ID: | 447DA564.3030002@free.fr |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Bruce Momjian wrote:
> It was applied 24-hours ago, and should be in CVS HEAD and the 8.1
> stable branch.
>
I downloaded the source, following the instructions at
http://www.postgresql.org/developer/sourcecode/. It seems I didn't get
your commit :(
Log for win32.mak:
revision 1.36
date: 2005/09/16 18:58:48; author: momjian; state: Exp; lines: +1 -4
This correction is required of nmake of Windows.
Did I check out the correct branch?
Yannick.
From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | Yannick <ybgn(at)free(dot)fr> |
Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Compile libpq with vc8 |
Date: | 2006-05-31 15:03:20 |
Message-ID: | 447DB038.4020100@dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Yannick wrote:
> Bruce Momjian wrote:
>> It was applied 24-hours ago, and should be in CVS HEAD and the 8.1
>> stable branch.
>>
> I downloaded the source, following the instructions at
> http://www.postgresql.org/developer/sourcecode/. It seems I didn't get
> your commit :(
>
> Log for win32.mak:
> revision 1.36
> date: 2005/09/16 18:58:48; author: momjian; state: Exp; lines: +1 -4
> This correction is required of nmake of Windows.
>
> Did I check out the correct branch?
>
The fix didn't touch the makefile. It supplied a definition for inline
in the config header file.
see http://archives.postgresql.org/pgsql-committers/2006-05/msg00351.php
cheers
andrew